forked from crytic/building-secure-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 785 Bytes
/
slither.yml
File metadata and controls
34 lines (32 loc) · 785 Bytes
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
name: Run Slither tests
on:
push:
paths:
- ".github/workflows/slither.yml"
- "program-analysis/slither/**/*.py"
branches:
- master
pull_request:
paths:
- ".github/workflows/slither.yml"
- "program-analysis/slither/**/*.py"
schedule:
# run CI every day even if no PRs/merges occur
- cron: "0 12 * * *"
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install solc-select
- name: Run Tests
run: |
bash program-analysis/slither/scripts/gh_action_test.sh