Skip to content

Commit

Permalink
Add slither
Browse files Browse the repository at this point in the history
  • Loading branch information
bcodesido committed Mar 20, 2024
1 parent f77fb51 commit 4ee8288
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 4ee8288

Please sign in to comment.