2fc1e49ea5 2026-01-12 arcade: name: rust-ci
71a7f0e748 2026-04-23 arcade: on:
71a7f0e748 2026-04-23 arcade: push:
71a7f0e748 2026-04-23 arcade: branches: [ master, release ]
71a7f0e748 2026-04-23 arcade: pull_request:
4448c56dd2 2026-01-12 arcade:
7551b4dc28 2026-01-12 arcade: # sccache enable for rust/C builds
4448c56dd2 2026-01-12 arcade: env:
4448c56dd2 2026-01-12 arcade: SCCACHE_GHA_ENABLED: "true"
4448c56dd2 2026-01-12 arcade: RUSTC_WRAPPER: "sccache"
c4797b7b7c 2024-08-11 arcade:
c4797b7b7c 2024-08-11 arcade: jobs:
2fc1e49ea5 2026-01-12 arcade: rust-ci-run:
2fc1e49ea5 2026-01-12 arcade: name: Run rust-clippy analyzing and tests
2283656bf6 2024-08-11 arcade: runs-on: ubuntu-latest
71a7f0e748 2026-04-23 arcade: if: github.event_name == 'push' || (github.head_ref != 'master' && github.head_ref != 'release')
2283656bf6 2024-08-11 arcade: permissions:
2283656bf6 2024-08-11 arcade: contents: read
2fc1e49ea5 2026-01-12 arcade: steps:
2fc1e49ea5 2026-01-12 arcade: # SETUP
2fc1e49ea5 2026-01-12 arcade: - uses: actions/checkout@v6
2fc1e49ea5 2026-01-12 arcade: - uses: dtolnay/rust-toolchain@stable
2fc1e49ea5 2026-01-12 arcade: - uses: Swatinem/rust-cache@v2
1079228c37 2026-04-23 arcade: - uses: mozilla-actions/sccache-action@v0.0.10
2fc1e49ea5 2026-01-12 arcade:
2fc1e49ea5 2026-01-12 arcade: # TESTS
b54bc87df8 2026-01-02 arcade: - name: Run tests
4448c56dd2 2026-01-12 arcade: run: cargo test --all-targets --all-features
b54bc87df8 2026-01-02 arcade:
2fc1e49ea5 2026-01-12 arcade: # CLIPPY
b54bc87df8 2026-01-02 arcade: - name: Run rust-clippy
2fc1e49ea5 2026-01-12 arcade: run: cargo clippy --all-targets --all-features -- -D warnings