-
Notifications
You must be signed in to change notification settings - Fork 40
56 lines (46 loc) · 1.61 KB
/
certora.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
name: Certora
on: [push]
jobs:
certora:
name: Certora
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Hub admin & getters
rules: rely rely_revert deny deny_revert file_ilk_uint256 file_ilk_uint256_revert file_ilk_address file_ilk_address_revert ilk_getters
- name: Hub exit, cage, cull, uncull and their reverts
rules: exit exit_revert cage cage_revert cull cull_revert uncull uncull_revert
- name: Hub exec non revert
rules: exec_normal exec_ilk_culled exec_vat_caged
- name: Hub exec normal revert
rules: exec_normal_revert
- name: Hub exec ilk culled and vat caged revert
rules: exec_ilk_culled_revert exec_vat_caged_revert
- name: Hub double exec
rules: exec_exec
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "11"
java-package: jre
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install solc-select
run: pip3 install solc-select
- name: Solc Select 0.5.12
run: solc-select install 0.5.12
- name: Solc Select 0.8.14
run: solc-select install 0.8.14
- name: Install Certora
run: pip3 install certora-cli-beta
- name: Certora ${{ matrix.name }}
run: make certora-hub short=1 rule="${{ matrix.rules }}"
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}