Skip to content

ci: slither

ci: slither #10

Workflow file for this run

name: Slither analysis
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
analysis:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: pnpm/action-setup@v3
with:
version: 8
- run: cp .env.example .env
- run: pnpm install
- run: pnpm compile
- name: Run Slither
uses: crytic/[email protected]
with:
target: "contracts/finance|contracts/governance"
node-version: 20
ignore-compile: false
solc-version: "0.8.24"
slither-config: ".slither.config.json"