-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI workflow to install Foundry and generate coverage report
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|