-
Notifications
You must be signed in to change notification settings - Fork 9
37 lines (31 loc) · 1.07 KB
/
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 (Bypassed)
on: [push]
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: Setup SSH
# env:
# LYRA_UTILS_SSH: ${{secrets.LYRA_UTILS}}
# run: mkdir $HOME/.ssh && echo "$LYRA_UTILS_SSH" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa
# - name: Install Submodules
# run: git submodule update --init --recursive
# - name: Install Foundry
# uses: onbjerg/foundry-toolchain@v1
# with:
# version: nightly
# - name: Install dependencies
# run: forge install
# - name: Run Slither
# uses: crytic/[email protected]
# id: slither
# with:
# target: "src/"
# sarif: results.sarif
# fail-on: medium # fail if new issues are introduced
# # Disabled until we go public so we can integrate with code-scanning
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: ${{ steps.slither.outputs.sarif }}