Skip to content

Commit

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

- name: Run Slither
uses: crytic/[email protected]
id: slither
with:
sarif: results.sarif
fail-on: none
target: contracts/

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

0 comments on commit dc9860a

Please sign in to comment.