diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90a9143..5b3f777 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,12 +25,13 @@ jobs: uses: crytic/slither-action@v0.4.0 id: slither with: - target: "contracts/beacon/" + target: "contracts/" solc-version: '0.8.21' slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/ node-version: "20" fail-on: none sarif: results.sarif + slither-config: 'slither.config.json' - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3 with: diff --git a/slither.config.json b/slither.config.json index f7ed0ae..807e40a 100644 --- a/slither.config.json +++ b/slither.config.json @@ -1,5 +1,6 @@ { "solc_remaps": "@=node_modules/@", - "filter_paths": "node_modules", + "filter_paths": "mocks", "solc_args": "--optimize --via-ir" + }