Lines of .github/workflows/rust-clippy.yml from check-in 32b2d1d28d that are changed by the sequence of edits moving toward check-in e9d3c3d224:
1: name: rust-clippy analyze
2:
3: on: push
4:
5: # Make sure CI fails on all warnings, including Clippy lints
6: env:
7: RUSTFLAGS: "-Dwarnings"
8:
9: jobs:
10: rust-clippy-test:
11: name: Run rust-clippy analyzing
12: runs-on: ubuntu-latest
13: permissions:
14: contents: read
15: security-events: write
16: steps:
17: - name: Checkout code
18: uses: actions/checkout@v6
19:
20: - name: Install Rust toolchain
32b2d1d28d 2026-01-06 21: uses: hecrj/setup-rust-action@v2
32b2d1d28d 2026-01-06 22: with:
32b2d1d28d 2026-01-06 23: rust-version: stable
24:
25: - uses: Swatinem/rust-cache@v2
26:
27: - name: Run tests
28: run: cargo test --all-targets --all-features
29:
30: - name: Run rust-clippy
31: run: cargo clippy --all-targets --all-features