Skip to content

Add PR CI, tag release workflow and repository hygiene (0.2.0-rc.2) - #5

Merged
Desperado merged 1 commit into
mainfrom
feature/ci-release-hygiene
Nov 22, 2026
Merged

Desperado merged 1 commit into
mainfrom
feature/ci-release-hygiene

Conversation

@Desperado

Copy link
Copy Markdown
Contributor

Summary

  • CI (ci.yml) on every PR and on main: cargo fmt --check, clippy -D warnings, cargo test --locked, ruff and the 39 adapter tests. These are the README development checks, until now run by hand.
  • Release (release.yml) on v* tags. It refuses a tag that doesn't match Cargo.toml, isn't on main or has no CHANGELOG section. It runs CI, builds static linux-x86_64 musl (rust:1.94.1-alpine3.22 pinned by digest) and darwin-arm64 (macos-14) binaries, and uploads them with SHA256SUMS and a schema 2 build.json naming the run, toolchain and builder. It never overwrites an existing release.
  • No signed attestation: attest-build-provenance needs a public repo or Enterprise Cloud; the org is on Team. Consumers verify the uploader is github-actions[bot], the SHA-256 and build.json.
  • Version 0.2.0-rc.2, so the PR Qualify dependency attribution and measure historical replay costs #4 work can be released and pinned.
  • Hygiene: CHANGELOG, SECURITY, proprietary LICENSE, README release section rewritten.

Verification

Locally: fmt, clippy, 21 Rust tests, ruff, 39 adapter tests pass. This PR's own CI run is the first remote check of ci.yml. release.yml runs for the first time on the v0.2.0-rc.2 tag after merge.

After merge

Protect main: require a PR and the checks status. Then tag v0.2.0-rc.2.

…-rc.2

CI runs the README development checks (fmt, clippy -D warnings, cargo test,
ruff, adapter tests) on every pull request and on main. Version tags on main
run those checks, build static linux-x86_64 musl and darwin-arm64 binaries in
the workflow, and publish them with SHA256SUMS and a build.json that names the
producing run. Signed attestations need a public repo or Enterprise Cloud and
are not produced. Add CHANGELOG, SECURITY and a proprietary LICENSE.
@Desperado
Desperado merged commit 2c09599 into main Nov 22, 2026
1 check passed
@Desperado
Desperado deleted the feature/ci-release-hygiene branch November 22, 2026 09:53
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