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

Fix go toolchain version #199

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Fix go toolchain version #199

merged 2 commits into from
Aug 2, 2024

Conversation

masutaka
Copy link
Owner

@masutaka masutaka commented Aug 2, 2024

After enabling CodeQL, the following error occurred:

Invalid Go toolchain version

Invalid Go toolchain version

As of Go 1.21, toolchain versions must use the 1.N.P syntax.

1.22 in go.mod does not match this syntax and there is no additional toolchain directive, which may cause some go commands to fail.

ref.
[修正済み] go.modのgoディレクティブにパッチバージョンを含めないと「toolchain not available」と怒られる

$ make bump_go_version
go version (x.y.z)? 1.22.5
go mod tidy
@masutaka masutaka self-assigned this Aug 2, 2024
@masutaka masutaka marked this pull request as ready for review August 2, 2024 14:28
@masutaka masutaka merged commit 90cf3c7 into main Aug 2, 2024
5 checks passed
@masutaka masutaka deleted the fix-go-toolchain-version branch August 2, 2024 14:29
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.

1 participant