From 78902d17991de8ddf4c1a5825e8d60ef77cfde35 Mon Sep 17 00:00:00 2001 From: Ben DiFrancesco Date: Sun, 31 Dec 2023 10:06:28 -0500 Subject: [PATCH] Re-enable Slither analyze step in CI --- .github/workflows/ci.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51c6e0c..8c6d83e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,23 +102,23 @@ jobs: scopelint --version scopelint check - # slither-analyze: - # runs-on: ubuntu-latest - # permissions: - # contents: read - # security-events: write - # steps: - # - uses: actions/checkout@v3 - - # - name: Run Slither - # uses: crytic/slither-action@v0.3.0 - # id: slither # Required to reference this step in the next step. - # with: - # fail-on: none # Required to avoid failing the CI run regardless of findings. - # sarif: results.sarif - # slither-args: --filter-paths "./lib|./test" --exclude naming-convention,solc-version - - # - name: Upload SARIF file - # uses: github/codeql-action/upload-sarif@v2 - # with: - # sarif_file: ${{ steps.slither.outputs.sarif }} + slither-analyze: + runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: + - uses: actions/checkout@v3 + + - name: Run Slither + uses: crytic/slither-action@v0.3.0 + id: slither # Required to reference this step in the next step. + with: + fail-on: none # Required to avoid failing the CI run regardless of findings. + sarif: results.sarif + slither-args: --filter-paths "./lib|./test" --exclude naming-convention,solc-version + + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ steps.slither.outputs.sarif }}