Skip to content

ci: add GitHub Actions for fmt, clippy, check, and tests - #2

Merged
codeitlikemiley merged 1 commit into
mainfrom
feat/ci
Sep 17, 2026
Merged

codeitlikemiley merged 1 commit into
mainfrom
feat/ci

Conversation

@codeitlikemiley

Copy link
Copy Markdown
Owner

Why

Main had no CI. Local quality gates were manual and cargo --workspace could not even load because tmp-agent depends on a missing sibling SDK.

What

GitHub Actions on push to main and on pull requests:

  • fmt: cargo fmt --all -- --check
  • check: cargo check --workspace --locked --all-targets --all-features
  • clippy: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
  • test: cargo test --workspace --locked --lib --bins
  • integration: e2e_tier1 through e2e_tier4 as a matrix

rust-toolchain.toml pins stable plus rustfmt and clippy. make ci runs the same commands locally.

crates/tmp-agent is no longer a workspace member. Cargo cannot load a workspace whose member path-depends on ../../../antigravity-sdk-rust when that tree is absent. The crate stays in the repo.

Verification

Ran locally:

  • cargo fmt --all -- --check
  • cargo check --workspace --locked --all-targets --all-features
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
  • cargo test --workspace --locked --lib --bins (188 passed)
  • cargo test -p tmp --locked --test e2e_tier1 --test e2e_tier2 --test e2e_tier3 --test e2e_tier4 (114 passed)

Workspace members drop tmp-agent so cargo can load without a sibling
antigravity-sdk-rust checkout. Unit tests are --lib --bins. Integration
is the four e2e tiers on tmp.
@codeitlikemiley
codeitlikemiley merged commit 6bac866 into main Sep 17, 2026
8 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.

1 participant