Skip to content

Commit

Permalink
Enable slither testing
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkcoffee committed Jan 24, 2024
1 parent c722bbe commit d806ace
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile --network-concurrency 1
- name: Run eslint
continue-on-error: true
run: yarn run eslint
solhint:
name: Run solhint
Expand All @@ -68,8 +67,17 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile --network-concurrency 1
- name: Run solhint
continue-on-error: true
run: yarn run solhint contracts/**/*.sol
slither:
name: Run slither
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Run slither
uses: crytic/[email protected]
with:
slither-args: --compile-force-framework forge --foundry-out-directory foundry-out
publish:
name: Publish to NPM (dry run)
runs-on: ubuntu-latest
Expand Down
12 changes: 0 additions & 12 deletions script/Ignore.s.sol

This file was deleted.

4 changes: 4 additions & 0 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"filter_paths": "lib"
}

0 comments on commit d806ace

Please sign in to comment.