Skip to content

ci: fmt + clippy + test workflow on ubuntu-latest - #11

Merged
beengud merged 1 commit into
mainfrom
ci/setup
May 1, 2026
Merged

beengud merged 1 commit into
mainfrom
ci/setup

Conversation

@beengud

@beengud beengud commented May 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/ci.yml with three jobs on ubuntu-latest:

  • fmt — cargo fmt --all -- --check
  • clippy — cargo clippy --all-targets --all-features -- -D warnings, with cargo registry/git/build caches via actions/cache@v4
  • test — cargo test --all, with the same caches

Triggers on push to main and pull_request to main. Toolchain installed via dtolnay/rust-toolchain@stable. Env: CARGO_TERM_COLOR=always, RUST_BACKTRACE=1. Checkout via actions/checkout@v4.

Linux-only per docs/01-architecture.md — runtime target is aarch64 Linux + CUDA; no Windows/macOS matrix in day-to-day CI. Release-binary concerns belong to #4.

Validation

All three commands run green locally against the workspace at HEAD:

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all (4 tests pass across the workspace)

Closes #3.

Test plan

  • Workflow appears in the Actions tab on push.
  • All three jobs (fmt, clippy, test) succeed on this PR.
  • Cache restore step reports a hit on a follow-up run.

Generated with Claude Code

Three-job GitHub Actions pipeline gated on push and pull_request to main.
Linux-only per docs/01-architecture.md (CUDA/aarch64 Linux is the only
supported runtime target). Cargo registry/git/build caches via
actions/cache@v4. Toolchain installed via dtolnay/rust-toolchain@stable.

Closes #3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@beengud
beengud merged commit a07e994 into main May 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: fmt + clippy + test workflow on ubuntu-latest

1 participant