Skip to content

Commit f575d58

Browse files
authored
Update slither-action (#314)
update slither-action
1 parent 32ea22c commit f575d58

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/slither.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Slither Analysis
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
analyze:
@@ -13,31 +13,31 @@ jobs:
1313
contents: read
1414
security-events: write
1515
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v2
18-
with:
19-
submodules: recursive
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
with:
19+
submodules: recursive
2020

21-
- name: Setup Node.js environment
22-
uses: actions/setup-node@v2.4.1
21+
- name: Setup Node.js environment
22+
uses: actions/setup-node@v2.4.1
2323

24-
- name: Run npm install
25-
run: yarn
24+
- name: Run npm install
25+
run: yarn
2626

27-
- name: Install Foundry
28-
uses: onbjerg/foundry-toolchain@v1
29-
with:
30-
version: nightly
27+
- name: Install Foundry
28+
uses: onbjerg/foundry-toolchain@v1
29+
with:
30+
version: nightly
3131

32-
- name: Run Slither
33-
uses: crytic/slither-action@v0.1.0
34-
continue-on-error: true
35-
id: slither
36-
with:
37-
node-version: 16
38-
sarif: results.sarif
32+
- name: Run Slither
33+
uses: crytic/slither-action@v0.2.0
34+
continue-on-error: true
35+
id: slither
36+
with:
37+
node-version: 16
38+
sarif: results.sarif
3939

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

0 commit comments

Comments
 (0)