Skip to content

Commit

Permalink
chore: clean cache files before compiling foundry in slither ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Jan 19, 2024
1 parent 3f53c39 commit 02de27f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down

0 comments on commit 02de27f

Please sign in to comment.