Skip to content

Commit

Permalink
ci: slither test
Browse files Browse the repository at this point in the history
  • Loading branch information
PacificYield committed Jan 6, 2025
1 parent 25267db commit a12fd88
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Slither Analysis
on: [push]
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cp ./contracts/.env.example ./contracts/.env
- run: npm --prefix ./contracts ci --include=optional
- name: Compile
run: npm --prefix ./contracts run compile
- name: Run Slither
uses: crytic/[email protected]
with:
target: "contracts/contracts"
ignore-compile: true
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ jobs:
- run: npm --prefix ./contracts run prettier:check
- name: "npm CI test"
run: npm --prefix ./contracts run test:mock

0 comments on commit a12fd88

Please sign in to comment.