From 8f2346330a0ef3a47ea887da9d5217c7b14ea209 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Mon, 17 Mar 2025 13:47:32 -0400 Subject: [PATCH] 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 --- .github/workflows/slither.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 4134b29..349f500 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -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/' \ No newline at end of file