Repository navigation
Build and publish CLI releases with GitHub Actions - #1
Merged
Merged
Conversation
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.
Build the four supported Linux/macOS CLI archives on native GitHub runners and publish them through GitHub Releases and the existing proofline.sh download bucket. CI runs formatting, Clippy, Rust tests, dependency policy and release-admission/publisher tests.
A release must match Cargo's version and belong to main. Manual dispatch defaults to build-only. Build jobs hold no publishing credential. The protected
releaseenvironment requires Mohsen's approval; its publisher uses GitHub's job token and the existing bucket-scoped R2 secret. GitHub draft creation and a conditional R2 reservation prevent replacement of a version. Existing R2 releases and version regressions are refused. GitHub attestations cover each archive, and the installer URLs remain unchanged.Validation: actionlint, shellcheck and eight local publisher/admission tests pass. The HTTPS tests verify real curl S3 signatures, reservation refusal, version/publication failures, and writing latest only after every archive. Native GitHub checks and the four-target dry run must pass before the initial 0.1.1 publication. Legacy Cloud Build publishing will be disabled before the first Actions publication.