Files
tycho-execution/.github/workflows/slither.yml
TAMARA LIPOWSKI 8f2346330a fix: fix slither CI action
- Need to manually install foundry and compile the project, or else it attempts to install the latest foundry version, which fails due to GLIBC not being found
2025-04-23 12:26:31 +01:00

24 lines
530 B
YAML

name: Slither Analysis
on:
push:
branches:
- main
pull_request:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Build the contracts
run: forge build --build-info
with:
target: 'foundry/'
- uses: crytic/slither-action@v0.4.0
with:
target: 'foundry/'
ignore-compile: true
slither-args: '--filter-paths foundry/lib/'