Skip to content

Commit

Permalink
ci: slither ignore foundry compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco de Borja Aranda Castillejo <[email protected]>
  • Loading branch information
fbac committed Jul 12, 2024
1 parent 961c059 commit 6ad1fb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install Dependencies
run: yarn install

Expand All @@ -45,6 +45,7 @@ jobs:
id: slither
continue-on-error: true
with:
ignore-compile: true
sarif: results.sarifs
node-version: "18"
fail-on: none
Expand Down
3 changes: 2 additions & 1 deletion slither.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"detectors_to_exclude": "",
"filter_paths": "artifacts,cache,data,dist,docs,lib,node_modules,pkg,scripts,tasks,test,testing,typechain-types",
"hardhat_ignore_compile": true,
"npx_disable": true
"npx_disable": true,
"foundry_ignore_compile": true
}

0 comments on commit 6ad1fb1

Please sign in to comment.