Diff
Logged in as anonymous

Differences From Artifact [589584ce6a]:

To Artifact [a841504083]:


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


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
-
+
-


-
+

+
-
+


-
-
+
+



-

-
-
+
+
-
-
-
+
-

+

+



+

-
+
name: rust-clippy analyze
name: rust-ci

on: push

# Make sure CI fails on all warnings, including Clippy lints
# sccache enable for rust/C builds
env:
  SCCACHE_GHA_ENABLED: "true"
  RUSTFLAGS: "-Dwarnings"
  RUSTC_WRAPPER: "sccache"

jobs:
  rust-clippy-test:
    name: Run rust-clippy analyzing
  rust-ci-run:
    name: Run rust-clippy analyze and testing
    runs-on: ubuntu-latest
    permissions:
      contents: read
      security-events: write
    steps:
      - name: Checkout code
        uses: actions/checkout@v6
      # SETUP
      - uses: actions/checkout@v6

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
      - uses: dtolnay/rust-toolchain@stable

      - uses: Swatinem/rust-cache@v2
      - uses: mozilla-actions/sccache-action@v0.0.9

      # TESTS
      - name: Run tests
        run: cargo test --all-targets --all-features

      # CLIPPY
      - name: Run rust-clippy
        run: cargo clippy --all-targets --all-features
        run: cargo clippy --all-targets --all-features -- -D warnings