Skip to content

feat: slither wokflow config #12

feat: slither wokflow config

feat: slither wokflow config #12

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
steps:
- name: Checkout repository
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 }}
uses: actions/checkout@v4
- name: Run Slither
uses: crytic/[email protected]
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 }}