# SPDX-License-Identifier: MIT name: CI # Kept small: main and pull requests only, and a newer run on the same ref cancels the older # one. `cargo test` runs the transcribed tests (rung 1 without AcidSAP, whose files are not # committed: those tests say so and pass) and the conformance kit (rung 3's first half, from # the committed stimuli and validation/conformance.txt). Rungs 2 and 4 and the rest of 3 need # the reference, pokey-python, which is private, and run locally (docs/status.md). on: push: branches: [main] pull_request: 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