Skip to content

Commit

Permalink
Update CI workflow to install Foundry and generate coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Feb 20, 2024
1 parent 8492832 commit e6fe3ea
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
- name: Checkout
uses: actions/[email protected]

- name: Install Foundry
uses: foundry-rs/[email protected]
with:
version: nightly
cache: true

- name: Cache node modules
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -101,15 +107,15 @@ jobs:
**/node_modules
key: ${{ needs.setup.outputs.cache-key }}

- name: Generate Hardhat & Foundry Coverage Report
run: yarn coverage:report

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
uses: foundry-rs/foundry-toolchain@v1.1.1
with:
version: nightly
cache: true

- name: Generate Hardhat & Foundry Coverage Report
run: yarn coverage:report

- name: Upload Coverage Report to Codecov
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit e6fe3ea

Please sign in to comment.