Repository navigation
chore: golangci-lint を v2.15.0 に更新 - #21
Merged
Merged
Conversation
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.
開発用 golangci-lint を v2.15.0 に更新します。
go.modのgo 1.17は変えていません。実行時依存の追加・更新もありません。ソース変更もありません。更新内容
versionv2.14.0 → v2.15.0.devcontainer/devcontainer.jsonのgolangciLintVersion2.14.0 → 2.15.0golangci/golangci-lint-action本体の更新はしていませんv2.15.0(2026-10-16)の Changelog は linter の更新とバグ修正です。
exhaustiveの設定キーが置き換えられていますが、旧キーは残っており、このリポジトリには.golangci.ymlがないため設定移行は不要です。設定ファイルの新設やルールの緩和はしていません。見送り
github.com/stretchr/testifyは既に最新の v1.12.1goディレクティブ(go 1.17)とtoolchain1.27.xで、安定版の最新パッチは 1.27.4。新メジャー(Go 1.28)は未公開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 downloadgo mod tidy(意図しないgo.mod/go.sum差分なし)go build ./...go test ./...