Skip to content

feat: slither workflow config #2

feat: slither workflow config

feat: slither workflow config #2

Workflow file for this run

name: Slither Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
env:
RSK_MAINNET_RPC_URL: ${{ secrets.RSK_MAINNET_RPC_URL }}
RSK_TESTNET_RPC_URL: ${{ secrets.RSK_TESTNET_RPC_URL }}
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Slither
uses: crytic/slither-action@v0.4.0
id: slither
with:
node-version: 18
sarif: results.sarif
fail-on: none
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}