From a96f3aaba0ac8fc8c26e1e3aef25b81603fcb5da Mon Sep 17 00:00:00 2001 From: Gabriel Fournier Date: Mon, 3 Jun 2024 16:50:04 +0200 Subject: [PATCH] update slither config --- .github/workflows/main.yml | 3 ++- slither.config.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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" + }