ci: replace PR artifacts with GoReleaser snapshot builds#35
Merged
bojanrajkovic merged 8 commits intomainfrom Feb 27, 2026
Merged
ci: replace PR artifacts with GoReleaser snapshot builds#35bojanrajkovic merged 8 commits intomainfrom
bojanrajkovic merged 8 commits intomainfrom
Conversation
Design for replacing manual go build matrix with GoReleaser snapshot builds to produce universal macOS binaries, add PR comments with artifact links, and chain builds after CI with concurrency. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace manual go build matrix with GoReleaser snapshot pipeline. Adds lint/test gates, per-platform artifact uploads, and PR comment with download links. Uses cancel-in-progress concurrency.
The CI pipeline split so that ci.yml only runs on push to main, while pr-artifacts.yml handles PRs with lint, test, and GoReleaser snapshot builds. Updated CLAUDE.md to reflect this change. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
Human Test Plan: PR Artifacts v2Implementation plan: Prerequisites
Phase 1: Workflow Trigger Verification (AC3.3)
Phase 2: Job Dependency Verification (AC3.1, AC3.2, AC3.4)
Phase 3: Snapshot Build and Artifacts (AC1.1-AC1.5, AC2.1-AC2.3)
Phase 4: PR Comment (AC4.1-AC4.4)
Phase 5: Concurrency (AC5.1, AC5.2)
End-to-End: Full PR Lifecycle
Traceability
|
PR BuildVersion:
Built from 33eadf7 |
The main branch requires a "Build" status check. Rename the job display name so it satisfies the existing branch protection rule. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Revert the Phase 3 removal — ci.yml must keep the pull_request trigger so the "Build" required status check is satisfied on PRs. The redundant lint/test runs are acceptable overhead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
version_templatefor PR builds (produces versions like0.2.5-pr.42+abc1234)pr-artifacts.ymlwith consolidated lint → test → GoReleaser snapshot pipeline, per-platform artifact uploads (linux/amd64, linux/arm64, macOS universal, windows/amd64, checksums), and PR comment with download linksci.ymlto push-only since PR CI is now handled bypr-artifacts.yml🤖 Generated with Claude Code