Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebuild golang-custom-analyzer with go v1.22.1 #3

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

takara9
Copy link
Contributor

@takara9 takara9 commented Mar 12, 2024

コンテナ定期更新で、heatbeat をビルドするのに必要なため、golang/x/tools v0.19.0にアップグレードしました。

@takara9 takara9 requested a review from morimoto-cybozu March 12, 2024 08:42
@takara9 takara9 self-assigned this Mar 12, 2024
go.mod Outdated
@@ -1,10 +1,7 @@
module github.com/cybozu-go/golang-custom-analyzer

go 1.19
go 1.22.1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go 1.22 would be sufficient.
Do you have a reason to specify the patch release?

In terms of functionality, it seems that updating golang.org/x/tools to v0.19.0 is sufficient for using with go 1.22.
We don't necessarily need to update this go directive to the latest.

In terms of the life cycle, it might be good to keep this go 1.20 because we provide golang:1.20 and golang:1.21 as well as golang:1.22.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@morimoto-cybozu
thx for you comment.
I change golang 1.20 in mod and keep gokang.org/x/tools v0.19.0

@takara9 takara9 requested a review from morimoto-cybozu March 12, 2024 23:47
@takara9 takara9 merged commit 1c07efd into main Mar 13, 2024
1 check passed
@takara9 takara9 deleted the verup-go-v1.22 branch March 13, 2024 09:06
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