-
Notifications
You must be signed in to change notification settings - Fork 27
54 lines (49 loc) · 1.26 KB
/
onpush-checks.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
# Check actions (linters, analysis tools etc.)
name: zeth-ci-onpush-checks
on:
push:
jobs:
check-contracts:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Cache pip
uses: actions/cache@v2
with:
path: |
~/.cache/pip
~/.solcx
key: check-contracts-pip-solcx-${{ hashFiles('**/setup.py') }}-${{ runner.os }}
- name: Check Contracts
run: scripts/ci check_contracts
check-client:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: check-client-pip-${{ hashFiles('**/setup.py') }}-${{ runner.os }}
- name: Check Client
run: scripts/ci check_client
check-cpp-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Execute
run: CI_CHECK_FORMAT=1 CI_USE_DOCKER=1 scripts/ci check_cpp