-
Notifications
You must be signed in to change notification settings - Fork 52
51 lines (40 loc) · 995 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:
- 'master'
- 'develop'
- 'release*'
push:
branches:
- 'master'
- 'develop'
- 'release*'
jobs:
checker:
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-unified:bullseye-1.74.0-v20240109
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