-
Notifications
You must be signed in to change notification settings - Fork 54
45 lines (38 loc) · 888 Bytes
/
lint.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
name: Lint
on:
pull_request:
branches:
- 'master'
- 'develop'
- 'release*'
push:
branches:
- 'master'
- 'develop'
- 'release*'
jobs:
linters:
name: Linters
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-unified:bullseye-1.71.0-v20230727
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- name: Rustup show
run: rustup show
- name: Cargo fmt
run: cargo +nightly fmt --all -- --check
- uses: actions-rs/cargo@v1
name: "Udeps Installation"
with:
command: install
args: cargo-udeps --locked
- name: Cargo udeps
run: SKIP_WASM_BUILD=1 cargo +nightly udeps --locked --all