feat: advertise $harness/* capabilities (animus-protocol v0.1.13) #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| RUSTFLAGS: -Dwarnings | ||
| env: | ||
| # GitHub Actions runner Node 20 -> Node 24 deprecation (effective 2026-06-02). | ||
| # Forces JS-based actions onto Node 24 ahead of the cutover. | ||
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | ||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| components: clippy, rustfmt | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - name: fmt | ||
| run: cargo fmt --all -- --check | ||
| - name: clippy | ||
| run: cargo clippy --all-targets --all-features | ||
| - name: build | ||
| run: cargo build --release | ||
| - name: test | ||
| run: cargo test --all-features | ||