Lines of .github/workflows/rust-clippy.yml from check-in c9ff34669d that are changed by the sequence of edits moving toward check-in cb1fdeff6f:
1: name: rust-ci
2: on:
3: push:
4: branches: [ master, release ]
5: pull_request:
6:
7: # sccache enable for rust/C builds
8: env:
9: SCCACHE_GHA_ENABLED: "true"
10: RUSTC_WRAPPER: "sccache"
11:
12: jobs:
13: rust-ci-run:
14: name: Run rust-clippy analyzing and tests
15: runs-on: ubuntu-latest
16: if: github.event_name == 'push' || (github.head_ref != 'master' && github.head_ref != 'release')
17: permissions:
18: contents: read
19: steps:
20: # SETUP
21: - uses: actions/checkout@v7
22: with:
23: persist-credentials: false
24: - uses: dtolnay/rust-toolchain@stable
25: - uses: Swatinem/rust-cache@v2
c9ff34669d 2026-07-31 26: - uses: mozilla-actions/sccache-action@v0.0.10
27:
28: # TESTS
29: - name: Run tests
30: run: cargo test --all-targets --all-features
31:
32: # CLIPPY
33: - name: Run rust-clippy
34: run: cargo clippy --all-targets --all-features -- -D warnings