Repository navigation
Add PR CI, tag release workflow and repository hygiene (0.2.0-rc.2) - #5
Merged
Merged
Conversation
…-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.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ci.yml) on every PR and onmain: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.yml) onv*tags. It refuses a tag that doesn't matchCargo.toml, isn't onmainor has no CHANGELOG section. It runs CI, builds static linux-x86_64 musl (rust:1.94.1-alpine3.22pinned by digest) and darwin-arm64 (macos-14) binaries, and uploads them withSHA256SUMSand a schema 2build.jsonnaming the run, toolchain and builder. It never overwrites an existing release.attest-build-provenanceneeds a public repo or Enterprise Cloud; the org is on Team. Consumers verify the uploader isgithub-actions[bot], the SHA-256 andbuild.json.0.2.0-rc.2, so the PR Qualify dependency attribution and measure historical replay costs #4 work can be released and pinned.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.ymlruns for the first time on thev0.2.0-rc.2tag after merge.After merge
Protect
main: require a PR and thechecksstatus. Then tagv0.2.0-rc.2.