Repository navigation
chore: testify を v1.12.1、golangci-lint を v2.13.2 に更新 - #18
Merged
Merged
Conversation
Keep the public module go 1.17 line unchanged. Refresh the test-only testify dependency and the CI-pinned golangci-lint version.
govet's inline analyzer in golangci-lint v2.13 flags ioutil.ReadAll when analyzed with a newer Go toolchain. io.ReadAll is the Go 1.16+ replacement and keeps go.mod at 1.17.
nemuvski
marked this pull request as ready for review
September 9, 2026 00:17
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 を更新します。
go.modのgo 1.17は変えていません。実行時依存の追加・更新もありません。更新内容
github.com/stretchr/testifyv1.11.1 → v1.12.1gopkg.in/yaml.v3からgo.yaml.in/yaml/v3 v3.0.5へ。go-spew / go-difflib は testify 側で vendor 化requireのみ使用。テストコードの変更は不要go.modはgo 1.17のまま。CI 下限 1.20.x と両立versionv2.8.0 → v2.13.2.golangci.ymlはなく、設定の新設や緩和はしていないioutil.ReadAll→io.ReadAllinlineが、Go 1.27 ツールチェーン上でioutil.ReadAllを指摘io.ReadAllは Go 1.16+ の正式置換で、公開 API は変更なし見送り
goディレクティブ /toolchain/ 実行時依存検証
更新前の
mainに既存失敗はなかった。更新後は Go 1.20.14(CI 下限)、1.26.8(当時の CI 最新系列)、1.27.1 で次を実行し成功しました。go mod downloadgo mod tidy(意図しない差分なし)go build ./...go test ./...