fix: fix slither CI action
- Need to manually install foundry and compile the project, or else it attempts to install the latest foundry version, which fails due to GLIBC not being found
This commit is contained in:
committed by
Diana Carvalho
parent
49e0c49828
commit
8f2346330a
7
.github/workflows/slither.yml
vendored
7
.github/workflows/slither.yml
vendored
@@ -11,7 +11,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
- name: Build the contracts
|
||||
run: forge build --build-info
|
||||
with:
|
||||
target: 'foundry/'
|
||||
- uses: crytic/slither-action@v0.4.0
|
||||
with:
|
||||
target: 'foundry/'
|
||||
ignore-compile: true
|
||||
slither-args: '--filter-paths foundry/lib/'
|
||||
Reference in New Issue
Block a user