Skip to content

ci: verify the install script against each published release - #23

Merged
isaacrowntree merged 1 commit into
mainfrom
fix/verify-install-on-release
Jul 27, 2026
Merged

ci: verify the install script against each published release#23
isaacrowntree merged 1 commit into
mainfrom
fix/verify-install-on-release

Conversation

@isaacrowntree

Copy link
Copy Markdown
Contributor

Follow-up to #22.

That PR added a release: published trigger to the install-script workflow so release-layout drift would be caught the moment it happens. It never fires. GoReleaser publishes using GITHUB_TOKEN, and events created by that token do not trigger new workflow runs. Confirmed empirically against v0.36.0 — zero release-triggered runs.

Worse than missing coverage: it looked like coverage.

Fix

Move the check into release.yml as a verify-install job with needs: goreleaser, so ordering is explicit and the run is guaranteed. It installs the exact tag just published (not latest) on both ubuntu-latest and macos-latest, and asserts the reported version matches the tag.

The weekly schedule and path-based PR triggers in install-test.yml are unchanged.

🤖 Generated with Claude Code

The install-script workflow had a `release: published` trigger intended to
catch drift in the release layout -- renamed assets, a missing
checksums.txt -- right when it happens. It never fired: GoReleaser
publishes the release using GITHUB_TOKEN, and events created by that token
do not start new workflow runs. Confirmed against v0.36.0, which produced
zero release-triggered runs.

Move that verification into release.yml as a job hanging off
`needs: goreleaser`, which makes the ordering explicit and the run
guaranteed. It installs the exact tag just published (rather than
"latest") on both Linux and macOS and asserts the reported version
matches.

The weekly schedule and path-based PR triggers stay where they are.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@isaacrowntree
isaacrowntree merged commit 120d9b7 into main Jul 27, 2026
4 checks passed
@isaacrowntree
isaacrowntree deleted the fix/verify-install-on-release branch July 27, 2026 03:15
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