-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: clean cache files before compiling foundry in slither ci
- Loading branch information
1 parent
3f53c39
commit 02de27f
Showing
1 changed file
with
8 additions
and
3 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 |
---|---|---|
|
@@ -174,15 +174,20 @@ jobs: | |
fail-on-cache-miss: true | ||
key: 'build-${{ github.sha }}' | ||
path: | | ||
cache-forge | ||
out | ||
cache-hh | ||
artifacts | ||
typechain | ||
node_modules | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Compile foundry | ||
run: forge build --build-info --force | ||
run: forge clean && forge build --build-info --force | ||
|
||
- name: 'Run Slither analysis' | ||
uses: 'crytic/[email protected]' | ||
|