From 42d1ab36fd71af7a10d17120e5f14edce9f6422a Mon Sep 17 00:00:00 2001 From: royvardhan Date: Tue, 18 Mar 2025 18:18:11 +0530 Subject: [PATCH] fix: fix slither CI action Took 5 seconds --- .github/workflows/slither.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index dc18ce8..5557211 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -11,7 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - 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@f197989dea5b53e986d0f88c60a034ddd77ec9a8 with: - target: 'foundry/' - slither-args: '--filter-paths foundry/lib/' + target: "foundry/" + ignore-compile: true + slither-args: "--filter-paths foundry/lib/" \ No newline at end of file