name: Rust Build on: push: branches: - main pull_request: branches: - main jobs: check: name: Check runs-on: debian-13 steps: - uses: actions/checkout@v5 with: toolchain: 1.95 - run: cargo check test: name: Test Suite runs-on: debian-13 steps: - uses: actions/checkout@v5 with: toolchain: 1.95 - run: cargo test fmt: name: Rustfmt runs-on: debian-13 steps: - uses: actions/checkout@v5 with: toolchain: 1.95 - run: rustup component add rustfmt - run: cargo fmt --all -- --check clippy: name: Clippy runs-on: debian-13 steps: - uses: actions/checkout@v5 with: toolchain: 1.95 - run: rustup component add clippy - run: cargo clippy -- -D warnings build: name: build runs-on: debian-13 steps: - uses: actions/checkout@v5 with: toolchain: 1.95 - run: cargo build