Skip to content

chore: golangci-lint を v2.15.0 に更新 - #21

Merged
YouheiNozaki merged 1 commit into
mainfrom
cursor/go-3db0
Nov 11, 2026
Merged

YouheiNozaki merged 1 commit into
mainfrom
cursor/go-3db0

Conversation

@cursor

@cursor cursor Bot commented Nov 11, 2026

Copy link
Copy Markdown

開発用 golangci-lint を v2.15.0 に更新します。

go.mod の go 1.17 は変えていません。実行時依存の追加・更新もありません。ソース変更もありません。

更新内容

  • CI の golangci-lint version v2.14.0 → v2.15.0
  • .devcontainer/devcontainer.json の golangciLintVersion 2.14.0 → 2.15.0
  • golangci/golangci-lint-action 本体の更新はしていません

v2.15.0(2026-10-16)の Changelog は linter の更新とバグ修正です。exhaustive の設定キーが置き換えられていますが、旧キーは残っており、このリポジトリには .golangci.yml がないため設定移行は不要です。設定ファイルの新設やルールの緩和はしていません。

見送り

  • github.com/stretchr/testify は既に最新の v1.12.1
  • 実行時の第三者依存はない
  • go ディレクティブ(go 1.17)と toolchain
  • CI の Go マトリクス。上限は既に 1.27.x で、安定版の最新パッチは 1.27.4。新メジャー(Go 1.28)は未公開
  • GitHub Actions 本体(Dependabot 担当)
  • devcontainer のベースイメージと Go feature の version: none

検証

更新前の main で、Go 1.20.14(CI 下限)と Go 1.27.4(安定版の最新パッチ)の両方で go mod download、go mod tidy(差分なし)、go build -v ./...、go test -v ./...、golangci-lint v2.14.0 が成功していました。事前の検証失敗はありません。

更新後、同じ下限と最新で次を実行し成功しました。

  • go mod download
  • go mod tidy(意図しない go.mod / go.sum 差分なし)
  • go build ./...
  • go test ./...
  • golangci-lint v2.15.0(0 issues)
Open in Web View Automation 

@YouheiNozaki
YouheiNozaki merged commit 93bef10 into main Nov 11, 2026
18 checks passed
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.

2 participants