Skip to content

feat: Setup Slither #14

feat: Setup Slither

feat: Setup Slither #14

Workflow file for this run

name: Slither Analysis
on:
push:
branches: [ development ]
paths:
- 'src/**.sol'
pull_request:
paths:
- 'src/**.sol'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Slither
uses: crytic/[email protected]
id: slither
with:
node-version: 16
sarif: results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}