Diff
Logged in as anonymous

Differences From Artifact [589584ce6a]:

To Artifact [fc0335ac73]:


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


-
-
-
-

-
-
+
+



-

-
-
+
+
-
-
-
+
-


+

-
+

+

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

on: push

# Make sure CI fails on all warnings, including Clippy lints
env:
  RUSTFLAGS: "-Dwarnings"

jobs:
  rust-clippy-test:
    name: Run rust-clippy analyzing
  rust-ci-run:
    name: Run rust-clippy analyzing and tests
    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

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

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