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 <borja@zetachain.com>
  • Loading branch information
Francisco de Borja Aranda Castillejo committed Jul 12, 2024
1 parent 961c059 commit 946bbce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:

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

- name: Install dependencies
run: yarn install

- name: Compile contracts
run: yarn compile
- name: Build project
run: yarn build

- name: Run Slither
uses: crytic/slither-action@main
id: slither
continue-on-error: true
with:
sarif: results.sarifs
sarif: results.sarif
node-version: "18"
fail-on: none

Expand Down
6 changes: 2 additions & 4 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"compile_force_framework": "hardhat",
"compile_force_framework": "foundry",
"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
"filter_paths": "forge-std,artifacts,cache,data,dist,docs,lib,node_modules,pkg,scripts,tasks,test,testing,typechain-types"
}

0 comments on commit 946bbce

Please sign in to comment.