3b65f27fe6 2026-01-09 1: name: rust-ci
be0b8602d1 2026-04-18 2: on: push
7393d62235 2026-01-07 3:
3fd8c40aa8 2026-03-30 4: # sccache enable for rust/C builds
3fd8c40aa8 2026-03-30 5: env:
3fd8c40aa8 2026-03-30 6: SCCACHE_GHA_ENABLED: "true"
3fd8c40aa8 2026-03-30 7: RUSTC_WRAPPER: "sccache"
3fd8c40aa8 2026-03-30 8:
7393d62235 2026-01-07 9: jobs:
3b65f27fe6 2026-01-09 10: rust-ci-run:
3b65f27fe6 2026-01-09 11: name: Run rust-clippy analyzing and tests
7393d62235 2026-01-07 12: runs-on: ubuntu-latest
7393d62235 2026-01-07 13: permissions:
7393d62235 2026-01-07 14: contents: read
3b65f27fe6 2026-01-09 15: steps:
3b65f27fe6 2026-01-09 16: # SETUP
3b65f27fe6 2026-01-09 17: - uses: actions/checkout@v6
3b65f27fe6 2026-01-09 18: - uses: dtolnay/rust-toolchain@stable
3b65f27fe6 2026-01-09 19: - uses: Swatinem/rust-cache@v2
3fd8c40aa8 2026-03-30 20: - uses: mozilla-actions/sccache-action@v0.0.9
3b65f27fe6 2026-01-09 21:
3b65f27fe6 2026-01-09 22: # TESTS
7393d62235 2026-01-07 23: - name: Run tests
3fd8c40aa8 2026-03-30 24: run: cargo test --all-targets --all-features
7393d62235 2026-01-07 25:
3b65f27fe6 2026-01-09 26: # CLIPPY
7393d62235 2026-01-07 27: - name: Run rust-clippy
3b65f27fe6 2026-01-09 28: run: cargo clippy --all-targets --all-features -- -D warnings