Repository navigation
feat: publish Linux release binaries and a setup action - #16
Merged
Merged
Conversation
Tags v<MAJOR.MINOR>.<patch> build static x86_64 and arm64 binaries with the UI embedded and publish them with checksums.txt. action.yml installs a release on a Linux runner, verifies its checksum, caches it and can install Playwright Chromium. The binary reports the tag's version.
Member
Author
|
Review dispositions (self-review of the diff):
|
Member
Author
|
Update: the model line is removed from the body, and |
piekstra
marked this pull request as ready for review
October 26, 2026 17:39
# Conflicts: # docs/ci.md
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 jobs install Lest with
cargo install --git, which compiles from source on every run and embeds no UI. This adds prebuilt binaries and an action that installs them..github/workflows/release.yml:v<MAJOR.MINOR>.<patch>, whereMAJOR.MINORmust match the newversion.txt(0.1), following the shared release convention.x86_64(ubuntu-22.04) andarm64(ubuntu-22.04-arm), with the UI built and embedded, checked with--versionagainst the tag.lest_v<version>_linux_<arch>.tar.gzpluschecksums.txt(SHA-256). Running it by hand with an existing tag publishes that release again (--clobber).action.yml(uses: open-cli-collective/lest@<tag>):version(defaultlatest),install-browsers(runsnpx playwright install --with-deps chromiuminworking-directory), andgithub-token.checksums.txt, caches it in the tool cache, and putslestonPATH. Linux runners only.LEST_VERSIONfrom the build (the tag), falling back to the crate version.scripts/check-workflows.mjsnow also requires SHA-pinned actions inaction.yml.docs/ci.md(the action and its inputs), anddocs/development.md(the release process, and why it does not use the shared GoReleaser workflow).Not in this PR
feat:/fix:merges. That needs aRELEASE_TAG_TOKENsecret and mints tags without a person deciding. Tags are pushed by hand for now.Test plan
actionlinton both workflows;node scripts/check-workflows.mjsmake checklocally (two timing tests failed under a machine load average of 17; they pass when rerun on their own, and this change does not touch the runner)LEST_VERSION=9.9.9 cargo buildprintslest 9.9.9; without it,lest 0.1.0Releasebuild jobs on this PR: static binaries on both architectures,--versionmatches