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:
TAMARA LIPOWSKI
2025-03-17 13:47:32 -04:00
committed by Diana Carvalho
parent 49e0c49828
commit 8f2346330a

View File

@@ -11,7 +11,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - 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 - uses: crytic/slither-action@v0.4.0
with: with:
target: 'foundry/' target: 'foundry/'
ignore-compile: true
slither-args: '--filter-paths foundry/lib/' slither-args: '--filter-paths foundry/lib/'