-
Notifications
You must be signed in to change notification settings - Fork 53
51 lines (40 loc) · 991 Bytes
/
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
name: Cargo Check
on:
pull_request:
branches:
- 'main'
- 'develop'
- 'release*'
push:
branches:
- 'main'
- 'develop'
- 'release*'
jobs:
checker:
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-unified:bullseye-1.71.0-v20230727
runs-on:
- self-hosted
- x64-tiny
steps:
- uses: actions/checkout@v2
- name: Rustup show
run: |
rustup show
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- name: check workspace
run: |
rustup target add wasm32-unknown-unknown
rustup +nightly target add wasm32-unknown-unknown
cargo check --workspace --locked
- name: check no_std
run: ./scripts/no_std_checks.sh
- name: pallet-ibc check benchmarks
run: cargo test -p pallet-ibc --release --locked --features=runtime-benchmarks