chore(deps): refresh all dependencies and modernize toolchain#152
Merged
Conversation
- go get -u ./... + go mod tidy; bump go directive to 1.25 - cloud.google.com/go 0.71.0 -> 0.123.0 - cloud.google.com/go/storage 1.12.0 -> 1.63.1 - cloud.google.com/go/logging 1.1.2 -> 1.19.0 - github.com/google/go-cmp 0.5.3 -> 0.7.0 - drop tools/tools.go (obsolete golangci-lint module-pin pattern); the linter now comes solely from golangci-lint-action / the local binary - migrate .golangci.yml to golangci-lint v2 config and fix all findings: - genproto monitoring/v3 & secretmanager/v1 -> cloud.google.com/go apiv pb - io/ioutil -> io/os; golang.org/x/net/context -> context - message.Build: tagged switch + fmt.Fprintf - CI: checkout@v4, setup-go@v5 (go-version-file), golangci-lint-action@v8, go mod download Supersedes stale Dependabot PRs #151, #150, #147, #146, #131. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 19, 2026
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.
What
3年分放置されていた依存を一括更新し、あわせて古いツールチェインを最新化。
依存更新 (
go get -u ./...+go mod tidy)cloud.google.com/go0.71.0 → 0.123.0cloud.google.com/go/storage1.12.0 → 1.63.1cloud.google.com/go/logging1.1.2 → 1.19.0github.com/google/go-cmp0.5.3 → 0.7.0godirective 1.14 → 1.25ツールチェイン / コード
tools/tools.go(golangci-lint を module 依存として pin する旧パターン)を削除。リンタはgolangci-lint-action/ ローカルバイナリから供給されるため、巨大な依存ツリーを module から排除。.golangci.ymlを golangci-lint v2 形式へ移行し、検出された staticcheck 指摘をすべて修正:monitoring/v3・secretmanager/v1をcloud.google.com/go/.../...pb(非推奨解消、型は同一)へio/ioutil→io/os、golang.org/x/net/context→ 標準contextmessage.Build: tagged switch 化、fmt.Fprintf化ci.yaml):checkout@v4、setup-go@v5+go-version-file: go.mod、golangci-lint-action@v8(v2.11.3)、依存取得をgo mod downloadへVerify (ローカル、Go 1.26)
go build ./...= 0 /make build.cmake build.v= 0go vet ./...= 0go test ./... -short(=make test.s) = 0golangci-lint run ./...= 0 issues (v2.11.3)置き換える Dependabot PR
🤖 Generated with Claude Code