Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Slither Analysis

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive

# [TODO]: Change "uses" back to crytic/slither-action@v0.1.1 (whatever new version)
# once https://github.com/crytic/slither-action/pull/8 gets merged
- name: Run Slither
uses: crytic/slither-action@dev-install-foundry
# [NOTE]: continue-on-error ignores warnings. We are using all available Detectors for every Severity.
continue-on-error: true
# id: slither
# with:
# sarif: results.sarif

# [TODO]: Configure repository to allow us using SARIF or wait for the repo to be public.
# This will allow us to get proper visual report of the analysis done by Slither.
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v1
# with:
# sarif_file: ${{ steps.slither.outputs.sarif }}