From 8d75b372e63683e4c67689510fd25265fca09a43 Mon Sep 17 00:00:00 2001 From: Diana Carvalho Date: Fri, 4 Apr 2025 09:11:43 +0100 Subject: [PATCH] ci: Fix slither action --- don't change below this line --- ENG-4305 Took 4 minutes --- .github/workflows/slither.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 5557211..1c5be96 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -11,14 +11,10 @@ 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/" + ref: ${{ github.event.pull_request.head.sha }} + submodules: recursive - uses: crytic/slither-action@f197989dea5b53e986d0f88c60a034ddd77ec9a8 with: - target: "foundry/" - ignore-compile: true - slither-args: "--filter-paths foundry/lib/" \ No newline at end of file + target: 'foundry/' + slither-args: '--filter-paths foundry/lib/' \ No newline at end of file