Skip to content

Commit

Permalink
ci: add slither linting to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsrin committed Jul 25, 2022
1 parent d16916e commit fd99875
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,15 @@ jobs:
- name: Check Forge gas snapshot
run: forge snapshot --check

- name: Run Slither
uses: crytic/slither-action@main
id: slither
continue-on-error: true
with:
sarif: results.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ steps.slither.outputs.sarif }}

0 comments on commit fd99875

Please sign in to comment.