Skip to content

Commit

Permalink
update slither config
Browse files Browse the repository at this point in the history
  • Loading branch information
gfournieriExec committed Jun 3, 2024
1 parent f74a415 commit a96f3aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ jobs:
uses: crytic/[email protected]
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:
Expand Down
3 changes: 2 additions & 1 deletion slither.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"solc_remaps": "@=node_modules/@",
"filter_paths": "node_modules",
"filter_paths": "mocks",
"solc_args": "--optimize --via-ir"

}

0 comments on commit a96f3aa

Please sign in to comment.