Skip to content

Commit

Permalink
Fix slither CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ermyas committed Jan 31, 2024
1 parent 768610b commit f2df8dc
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: Slither Analysis

on: [push]

'on':
- push
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: crytic/slither-action@v0.3.0
with:
fail-on: high
slither-args: --filter-paths "./lib|./test"
node-version: 18
slither-args: '--filter-paths "./lib|./test"'
node-version: 18

0 comments on commit f2df8dc

Please sign in to comment.