Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: slither ignore foundry compilation #221

Merged
merged 4 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
Loading