Skip to content

chore(ci): update GoReleaser v2 config#24

Merged
noborus merged 1 commit into
mainfrom
remove-tap-token
May 22, 2026
Merged

chore(ci): update GoReleaser v2 config#24
noborus merged 1 commit into
mainfrom
remove-tap-token

Conversation

@noborus
Copy link
Copy Markdown
Owner

@noborus noborus commented May 22, 2026

  • bump actions/checkout and actions/setup-go to v6
  • ensure full git history with fetch-depth: 0 in build workflow
  • migrate GoReleaser config to version 2 format
  • remove TAP_GITHUB_TOKEN usage and disable brew upload
  • add release extra_files for generated ruby formula artifacts

Summary by CodeRabbit

  • Chores
    • Updated continuous integration and build release infrastructure dependencies and configurations.

Review Change Stack

- bump actions/checkout and actions/setup-go to v6
- ensure full git history with fetch-depth: 0 in build workflow
- migrate GoReleaser config to version 2 format
- remove TAP_GITHUB_TOKEN usage and disable brew upload
- add release extra_files for generated ruby formula artifacts
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 22, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

CI and release infrastructure are updated: GitHub Actions workflows upgrade actions/checkout and actions/setup-go from v4/v5 to v6, while GoReleaser configuration migrates to version 2 with updated archive formats, release metadata configuration, and brew publishing settings.

Changes

CI/CD and Release Pipeline Updates

Layer / File(s) Summary
GitHub Actions version upgrades
.github/workflows/build.yml, .github/workflows/release.yml
Both build and release workflows are updated to use actions/checkout@v6 and actions/setup-go@v6. The release workflow's Run GoReleaser step removes the TAP_GITHUB_TOKEN environment variable while retaining GITHUB_TOKEN. The build workflow's test step placement is adjusted.
GoReleaser v2 configuration migration
.goreleaser.yaml
Configuration adds version: 2 directive. Archives configuration changes from scalar format: tar.gz to list format formats: [tar.gz]. Packaging section adds release.extra_files with dist glob and checksum.name_template, removing the prior snapshot block. Brew publishing is reconfigured with skip_upload: true and new homepage/description/license metadata, removing previous tap/repository authentication details.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • noborus/xlsxsql#18: Both PRs update GitHub Actions workflow versions for Go setup in .github/workflows/build.yml and .github/workflows/release.yml.

Poem

🐰 Workflows dance in versions bright,
From four and five to glowing six,
GoReleaser takes its new delight,
Version two unlocks the tricks,
Brews ship forth without a flight! 🍺

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore(ci): update GoReleaser v2 config' accurately summarizes the main change: migrating GoReleaser configuration to version 2 format, which is the primary and most significant change across the modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch remove-tap-token

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@noborus noborus merged commit b64aad9 into main May 22, 2026
1 of 2 checks passed
@noborus noborus deleted the remove-tap-token branch May 22, 2026 02:07
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