Skip to content

Commit

Permalink
Merge pull request #224 from rsksmart/slither
Browse files Browse the repository at this point in the history
Add slither
  • Loading branch information
Luisfc68 committed Mar 21, 2024
2 parents c5a92b7 + 2919ef3 commit f13174e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Slither Analysis
on: [push]
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@v3

- name: Use Node.js 19.6.0
uses: actions/setup-node@v3
with:
node-version: '19.6.0'

- name: Install dependencies
run: npm ci

- name: Run Slither
uses: crytic/slither-action@v0.3.0
id: slither
with:
sarif: results.sarif
fail-on: none
target: .

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

0 comments on commit f13174e

Please sign in to comment.