Skip to content

ci: add PR quality gates (fmt/clippy/test/build) [#230]#2

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
ci/add-quality-gates
Jul 4, 2026
Merged

ci: add PR quality gates (fmt/clippy/test/build) [#230]#2
MichaelTaylor3d merged 1 commit into
mainfrom
ci/add-quality-gates

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

What

Adds .github/workflows/ci.yml — the professional PR-gated CI for this Rust workspace, triggered on: pull_request (to main) and push to main.

Jobs (stable name: = required-check contexts):

  • Rustfmtcargo fmt --all -- --check
  • Clippycargo clippy --workspace --all-targets -- -D warnings
  • Test + coveragecargo llvm-cov --workspace --summary-only (runs the whole workspace test suite AND measures line coverage in one instrumented build)

Notes

  • No wasm build step needed: the digstore guest wasm is vendored (vendor/digstore_guest.wasm) and wired via .cargo/config.toml DIGSTORE_GUEST_WASM, so the checkout already carries the artifact (CLAUDE.md §3.5).
  • Coverage is measure-only (non-blocking) for now — the ≥80% floor is tracked separately (#157). Raising the gate is a one-line change (--fail-under-lines 80).
  • Verified locally: fmt clean, clippy clean with -D warnings, 71 tests pass.

Version

Patch bump dig-node-service 0.4.0 → 0.4.1 (chore/ci, no behaviour change) to satisfy the version-increment gate.

@MichaelTaylor3d MichaelTaylor3d merged commit f73fafe into main Jul 4, 2026
5 checks passed
@MichaelTaylor3d MichaelTaylor3d deleted the ci/add-quality-gates branch July 4, 2026 10:55
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