Skip to content

Commit

Permalink
feat: slither CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed May 17, 2024
1 parent 4c17acf commit fcadbe4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ env:
SEPOLIA_RPC: ${{ secrets.SEPOLIA_RPC }}

jobs:
static-test:
name: slither
runs-on: ubuntu-latest
env:
NODE_ENV: production
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Install npm dependencies
run: npm ci --production
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run slither
uses: crytic/[email protected]
with:
slither-config: slither-ci.config.json
fail-on: medium

unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,6 +86,8 @@ jobs:
- name: Run tests
run: yarn test:integration



lint:
name: Lint Commit Messages
runs-on: ubuntu-latest
Expand Down

0 comments on commit fcadbe4

Please sign in to comment.