-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (54 loc) · 2.08 KB
/
mythx.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Mythx
on:
workflow_dispatch:
jobs:
mythx:
name: Submit to Mythx
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install node dependencies
run: yarn install --frozen-lockfile
- name: Install pip3
run: |
python -m pip install --upgrade pip
- name: Install mythx CLI
run: |
pip3 install mythx-cli
- name: Install solc-select
run: |
pip3 install solc-select
- name: Install solc 0.7.6
run: |
solc-select install 0.7.6
solc-select use 0.7.6
- name: Submit code to Mythx
run: |
mythx --api-key ${{ secrets.MYTHX_API_KEY }} \
--yes \
analyze \
--mode deep \
--async \
--create-group \
--group-name "@uniswap/v3-core@${{ github.sha }}" \
--solc-version 0.7.6 \
--check-properties \
contracts/test/TickBitmapEchidnaTest.sol --include TickBitmapEchidnaTest \
contracts/test/TickMathEchidnaTest.sol --include TickMathEchidnaTest \
contracts/test/SqrtPriceMathEchidnaTest.sol --include SqrtPriceMathEchidnaTest \
contracts/test/SwapMathEchidnaTest.sol --include SwapMathEchidnaTest \
contracts/test/TickEchidnaTest.sol --include TickEchidnaTest \
contracts/test/TickOverflowSafetyEchidnaTest.sol --include TickOverflowSafetyEchidnaTest \
contracts/test/OracleEchidnaTest.sol --include OracleEchidnaTest \
contracts/test/BitMathEchidnaTest.sol --include BitMathEchidnaTest \
contracts/test/LowGasSafeMathEchidnaTest.sol --include LowGasSafeMathEchidnaTest \
contracts/test/UnsafeMathEchidnaTest.sol --include UnsafeMathEchidnaTest \
contracts/test/FullMathEchidnaTest.sol --include FullMathEchidnaTest