diff --git a/.github/workflows/contracts-testing.yml b/.github/workflows/contracts-testing.yml index 52f7dba00..72d261633 100644 --- a/.github/workflows/contracts-testing.yml +++ b/.github/workflows/contracts-testing.yml @@ -65,8 +65,6 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0 - with: - version: nightly - name: Install lcov run: sudo apt-get install -y lcov diff --git a/contracts/scripts/coverage.sh b/contracts/scripts/coverage.sh index e595484d5..e6db787fb 100755 --- a/contracts/scripts/coverage.sh +++ b/contracts/scripts/coverage.sh @@ -6,6 +6,7 @@ rm -rf coverage mkdir -p coverage # Generate the Forge coverage report +forge clean forge coverage --report summary --report lcov --report-file coverage/lcov-forge.info # Generate the Hardhat coverage report