Skip to content

Commit

Permalink
ci: update summary workflow (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquariuslt authored May 16, 2024
1 parent d88d2ae commit c6f0df7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ jobs:
uses: crytic/[email protected]
continue-on-error: true
id: slither
with:
target: 'contracts/'
5 changes: 2 additions & 3 deletions .github/workflows/summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ jobs:
summary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Run Slither
uses: crytic/[email protected]
continue-on-error: true
id: slither
with:
target: 'src/'
slither-config: 'slither.config.json'
slither-args: '--filter-paths src/test --print contract-summary'
slither-args: '--print contract-summary'
16 changes: 8 additions & 8 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"detectors_to_run": "reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas",
"exclude_informational": false,
"exclude_low": false,
"exclude_medium": false,
"exclude_high": false,
"disable_color": false,
"legacy_ast": false
}
"detectors_to_exclude": "incorrect-equality,naming-convention",
"exclude_dependencies": true,
"exclude_informational": true,
"exclude_low": true,
"exclude_optimization": true,
"fail_on": "none",
"filter_paths": "(test/|node_modules/|\\@openzeppelin/|forge-std/|solady/)"
}

0 comments on commit c6f0df7

Please sign in to comment.