Skip to content

Commit b59d0e2

Browse files
Merge pull request #377 from ulasanil/master
Slither Github Actions integration
2 parents 4be4e61 + f7c3660 commit b59d0e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/slither.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Slither Analysis
2+
on: [push]
3+
jobs:
4+
analyze:
5+
runs-on: ubuntu-latest
6+
permissions:
7+
security-events: write
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Run Slither
12+
uses: crytic/[email protected]
13+
id: slither
14+
with:
15+
sarif: results.sarif
16+
fail-on: none
17+
target: bridge/contracts/
18+
19+
- name: Upload SARIF file
20+
uses: github/codeql-action/upload-sarif@v2
21+
with:
22+
sarif_file: ${{ steps.slither.outputs.sarif }}

0 commit comments

Comments
 (0)