Skip to content

Go の対象バージョンを 1.25 / 1.26 / 1.27 にして CI を matrix 化する - #51

Merged
krrrr38 merged 1 commit into
mainfrom
go-version-matrix
Sep 30, 2026
Merged

krrrr38 merged 1 commit into
mainfrom
go-version-matrix

Conversation

@krrrr38

@krrrr38 krrrr38 commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

EOL の 1.24 以前を対象外にし、go.mod を go 1.25.0 に上げる。
patch 番号なしの go 1.22 は toolchain 切り替え時に存在しない版として
解決され toolchain not found になり得るため、patch 付きで記述する。

test-go.yml は 1.25 / 1.26 / 1.27 の matrix で実行し、GOTOOLCHAIN=local で
指定バージョンのまま検証する。

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Signed-off-by: krrrr38 k.kaizu38@gmail.com

Summary by CodeRabbit

  • Development
    • The Go project now requires Go 1.25 or later.
    • Automated builds now test against Go 1.25, 1.26, and 1.27, helping verify compatibility across these versions.

EOL の 1.24 以前を対象外にし、go.mod を go 1.25.0 に上げる。
patch 番号なしの go 1.22 は toolchain 切り替え時に存在しない版として
解決され toolchain not found になり得るため、patch 付きで記述する。

test-go.yml は 1.25 / 1.26 / 1.27 の matrix で実行し、GOTOOLCHAIN=local で
指定バージョンのまま検証する。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: krrrr38 <k.kaizu38@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 79e087f4-35d5-4b79-b39f-950c2c68a5fc

📥 Commits

Reviewing files that changed from the base of the PR and between 1807692 and 88edf60.

📒 Files selected for processing (3)
  • .github/workflows/test-go.yml
  • golang/README.md
  • golang/go.mod

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Go module and README now specify Go 1.25. The CI workflow runs tests with Go 1.25, 1.26, and 1.27, and configures the toolchain and cache dependency path.

Changes

Go version and CI

Layer / File(s) Summary
Set the minimum Go version
golang/go.mod, golang/README.md
The module directive and documented minimum version changed to Go 1.25.
Test the Go version matrix
.github/workflows/test-go.yml
The workflow tests Go 1.25, 1.26, and 1.27. It sets GOTOOLCHAIN: local and uses golang/go.sum for cache dependency tracking.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 88edf

The Go 1.25 minimum is consistent across the module and README, and the workflow is described as testing the stated version matrix. No merge-blocking issue is identified.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 88edf

The changes affect supported Go versions and build validation, without an identified expansion of credentials or deployment authority. The main uncertainty is whether downstream builders are ready for the higher minimum version.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The evidenced exposure change concerns Go build compatibility and CI execution across additional toolchain versions. The changed surface does not establish increased tenant, service, data-store, or production-environment authority.

Trust Boundaries and Controls

  • observed — Workflow and job permissions remain contents: read. Checkout does not persist credentials, and both checkout and Go setup use commit-pinned action references. The toolchain changes do not broaden these existing controls.
🚥 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 タイトルは、Go 1.25、1.26、1.27を対象にCIをmatrix化する主要な変更を正確かつ簡潔に示しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

@krrrr38
krrrr38 merged commit 8d8369c into main Sep 30, 2026
18 checks passed
@krrrr38
krrrr38 deleted the go-version-matrix branch September 30, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant