From f0ebe2266b647f2bce3627eb46fde53fe51fcabf Mon Sep 17 00:00:00 2001 From: Davis Shaver Date: Sat, 14 Sep 2024 16:38:30 -0400 Subject: [PATCH] :construction_worker: Test Slither action --- .github/workflows/forge-ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/forge-ci.yml b/.github/workflows/forge-ci.yml index 3e86eb6..594c98c 100644 --- a/.github/workflows/forge-ci.yml +++ b/.github/workflows/forge-ci.yml @@ -39,7 +39,14 @@ jobs: env: INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} - - name: Run Slither (allow failure for now) - continue-on-error: true - run: yarn slither - \ No newline at end of file + - name: Run Slither + uses: crytic/slither-action + id: slither + with: + sarif: results.sarif + fail-on: none + + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ steps.slither.outputs.sarif }} \ No newline at end of file