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 }}