-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Set minimal Go toolchain version #6113
Copy link
Copy link
Open
Labels
needs-kindIndicates a PR lacks a `kind/foo` label and requires one.Indicates a PR lacks a `kind/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
Right now the binaries (e.g. for the 5.8.1) release are built using the default Go version that is available on GitHub runners. For that release it meant 1.24.0. This means that when the binary is scanned for instance with trivy it will show tons of relevant CVEs due to that old Go version.
My proposal would be to set a toolchain directive inside the go.work file to enforce a minimum version number for the build process. This version would be kept up-to-date by dependabot. WDYT?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-kindIndicates a PR lacks a `kind/foo` label and requires one.Indicates a PR lacks a `kind/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.