Differences From
Artifact [521eb30b00]:
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
|
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
|
-
-
-
-
-
+
+
+
+
+
-
-
+
-
+
|
name: rust-clippy analyze
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
on: push
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
branches: [ "master" ]
jobs:
rust-clippy-test:
name: Run rust-clippy analyzing
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Rust toolchain
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --all-features
run: cargo test --all-targets --all-features
- name: Run rust-clippy
run: cargo clippy --all-features
run: cargo clippy --all-targets --all-features
|