2fc1e49ea5 2026-01-12 1: name: rust-ci
4448c56dd2 2026-01-12 2: on: [ push, pull_request]
4448c56dd2 2026-01-12 3:
4448c56dd2 2026-01-12 4: env:
4448c56dd2 2026-01-12 5: SCCACHE_GHA_ENABLED: "true"
4448c56dd2 2026-01-12 6: RUSTC_WRAPPER: "sccache"
c4797b7b7c 2024-08-11 7:
c4797b7b7c 2024-08-11 8: jobs:
2fc1e49ea5 2026-01-12 9: rust-ci-run:
2fc1e49ea5 2026-01-12 10: name: Run rust-clippy analyzing and tests
2283656bf6 2024-08-11 11: runs-on: ubuntu-latest
2283656bf6 2024-08-11 12: permissions:
2283656bf6 2024-08-11 13: contents: read
2fc1e49ea5 2026-01-12 14: steps:
2fc1e49ea5 2026-01-12 15: # SETUP
2fc1e49ea5 2026-01-12 16: - uses: actions/checkout@v6
2fc1e49ea5 2026-01-12 17: - uses: dtolnay/rust-toolchain@stable
2fc1e49ea5 2026-01-12 18: - uses: Swatinem/rust-cache@v2
4448c56dd2 2026-01-12 19: - uses: mozilla-actions/sccache-action@v0.0.9
2fc1e49ea5 2026-01-12 20:
2fc1e49ea5 2026-01-12 21: # TESTS
b54bc87df8 2026-01-02 22: - name: Run tests
4448c56dd2 2026-01-12 23: run: cargo test --all-targets --all-features
b54bc87df8 2026-01-02 24:
2fc1e49ea5 2026-01-12 25: # CLIPPY
b54bc87df8 2026-01-02 26: - name: Run rust-clippy
2fc1e49ea5 2026-01-12 27: run: cargo clippy --all-targets --all-features -- -D warnings