forked from yearn/tokenized-strategy-foundry-mix
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 882 Bytes
/
slither.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Slither Analysis
on:
push:
branches:
- master
pull_request:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Slither analysis
uses: crytic/[email protected]
with:
fail-on: "high"
slither-config: slither.config.json
ignore-compile: true
- name: "Add summary"
run: |
echo "### Slither Analysis result" >> $GITHUB_STEP_SUMMARY
echo "Passed" >> $GITHUB_STEP_SUMMARY
- name: "Add summary"
run: |
echo "### Slither Analysis" >> $GITHUB_STEP_SUMMARY
echo "Passed" >> $GITHUB_STEP_SUMMARY