Skip to content

Use toolchain directive to declare preferred Go version - #2058

Open
twz123 wants to merge 1 commit into
vmware-tanzu:mainfrom
twz123:go-toolchain-directive
Open

twz123 wants to merge 1 commit into
vmware-tanzu:mainfrom
twz123:go-toolchain-directive

Conversation

@twz123

@twz123 twz123 commented Jul 10, 2026

Copy link
Copy Markdown

What this PR does / why we need it:

Use the go directive to define the minimum supported Go version, and the toolchain directive to select the preferred Go version. This makes it nicer for downstream consumers, so they can still depend on sonobuoy and build their software with older Go patch releases, and can upgrade their toolchains at their own pace.

Which issue(s) this PR fixes

Special notes for your reviewer:

Release note:

NONE

@twz123
twz123 force-pushed the go-toolchain-directive branch from 40aa037 to 6b01e97 Compare July 10, 2026 15:44
Use the go directive to define the minimum supported Go version, and the
toolchain directive to select the preferred Go version. This makes it
nicer for downstream consumers, so they can still depend on sonobuoy and
build their software with older Go patch releases, and can upgrade their
toolchains at their own pace.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
@twz123
twz123 force-pushed the go-toolchain-directive branch from 6b01e97 to 1d37bfe Compare July 28, 2026 14:31
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