Skip to content

ci: slither

ci: slither #7

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", "contracts/token/*", "contracts/utils"]

Check failure on line 28 in .github/workflows/slither.yml

View workflow run for this annotation

GitHub Actions / Slither analysis

Invalid workflow file

The workflow is not valid. .github/workflows/slither.yml (Line: 28, Col: 19): A sequence was not expected
node-version: 20
ignore-compile: false
solc-version: "0.8.24"
slither-config: ".slither.config.json"