Merge pull request #5437 from cevich/add_golang121_warning

[CI:DOCS] Add golang 1.21 update warning
This commit is contained in:
openshift-merge-bot[bot] 2024-04-30 19:31:01 +00:00 committed by GitHub
commit 5e46f9c55f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 1 deletions

17
go.mod
View File

@ -1,6 +1,21 @@
module github.com/containers/buildah
go 1.20
// Minimum required golang version
go 1.20 // ***** ATTENTION WARNING CAUTION DANGER ******
// Go versions 1.21 and later will AUTO-UPDATE based
// on currently running tools and the (new) `toolchain`
// value (when also increasing the `go` value above).
// ref: https://go.dev/doc/toolchain Because several
// different distros and distro-versions build from
// this code, golang version consistency is
// desireable. After manually updating to 1.21, a
// `toolchain` specificication should be added to pin
// the version and block auto-updates. This does not
// block any future changes to the `go` value.
// Ref: Upstream discussion:
// https://github.com/golang/go/issues/65847
// ***** ATTENTION WARNING CAUTION DANGER ******
require (
github.com/containerd/containerd v1.7.13