Skip to content

Commit

Permalink
Add Slither (#25)
Browse files Browse the repository at this point in the history
* Add Slither config

* Add Slither to CI
  • Loading branch information
cairoeth authored Dec 11, 2024
1 parent b9f2d42 commit fdb8e30
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Check format
run: forge fmt --check
id: format

coverage:
name: Coverage
runs-on: ubuntu-latest
Expand All @@ -43,4 +44,16 @@ jobs:

- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

slither:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up environment
uses: ./.github/actions/setup

- uses: crytic/[email protected]
with:
node-version: 18.15
slither-version: 0.10.4
3 changes: 3 additions & 0 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"filter_paths": "lib"
}

0 comments on commit fdb8e30

Please sign in to comment.