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

setup-go: Get Go version from go.mod #1536

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Conversation

michi-covalent
Copy link
Contributor

Why not.

@michi-covalent michi-covalent added the release-note/ci This PR makes changes to the CI. label Sep 30, 2023
Why not.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent michi-covalent marked this pull request as ready for review October 1, 2023 01:04
@michi-covalent michi-covalent merged commit dd5ddc2 into main Oct 1, 2023
28 checks passed
@michi-covalent michi-covalent deleted the pr/michi/setupgo branch October 1, 2023 06:09
mtardy added a commit that referenced this pull request Oct 11, 2023
PR #1536 broke "renovate update Go toolchain in a single PR" from #1259.

From cilium/cilium@2f7e2f3:
According to [1] as of Go 1.21 we either need to specify the full
toolchain version in the `go` directive or add a `toolchain` directive
with the concrete toolchain version. Opt for the former and make sure
it's kept up to date by renovate bot.

[1] golang/go#62278 (comment)

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
mtardy added a commit that referenced this pull request Oct 11, 2023
PR #1536 broke "renovate update Go toolchain in a single PR" from #1259
because in the actual state it could only bump the go directive from
minor versions, not bumping the patch needed by the workflows github
actions reading that version.

From cilium/cilium@2f7e2f3:
According to [1] as of Go 1.21 we either need to specify the full
toolchain version in the `go` directive or add a `toolchain` directive
with the concrete toolchain version. Opt for the former and make sure
it's kept up to date by renovate bot.

[1] golang/go#62278 (comment)

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
mtardy added a commit that referenced this pull request Oct 11, 2023
PR #1536 broke "renovate update Go toolchain in a single PR" from #1259
because in the actual state it could only bump the go directive from
minor versions, not bumping the patch needed by the workflows github
actions reading that version.

From cilium/cilium@2f7e2f3:
According to [1] as of Go 1.21 we either need to specify the full
toolchain version in the `go` directive or add a `toolchain` directive
with the concrete toolchain version. Opt for the former and make sure
it's kept up to date by renovate bot.

[1] golang/go#62278 (comment)

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants