name: CI # Kept small: main and pull requests only, and a newer run on the same ref cancels the older # one. `cargo test` is rungs 1 and 3 (the seam tests and the 94 board streams, committed). Rungs # 2 and 4 need the reference, gb-apu-python, and run locally (docs/status.md). # While this repository is private (Actions minutes cost money there), CI runs only when # started by hand; the gate is scripts/ladder.sh, run locally on every kept commit. on: workflow_dispatch: concurrency: group: ci-${{ github.ref }} cancel-in-progress: true env: CARGO_TERM_COLOR: always jobs: build: name: fmt, clippy, test runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy - run: cargo fmt --check - run: cargo clippy --release --all-targets --features serde -- -D warnings - run: cargo test --release --features serde