Skip to content

Commit fd99875

Browse files
committed
ci: add slither linting to ci
1 parent d16916e commit fd99875

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,15 @@ jobs:
6161
6262
- name: Check Forge gas snapshot
6363
run: forge snapshot --check
64+
65+
- name: Run Slither
66+
uses: crytic/slither-action@main
67+
id: slither
68+
continue-on-error: true
69+
with:
70+
sarif: results.sarif
71+
72+
- name: Upload SARIF file
73+
uses: github/codeql-action/upload-sarif@v1
74+
with:
75+
sarif_file: ${{ steps.slither.outputs.sarif }}

0 commit comments

Comments
 (0)