Skip to content

Commit

Permalink
Merge pull request #5437 from cevich/add_golang121_warning
Browse files Browse the repository at this point in the history
[CI:DOCS] Add golang 1.21 update warning
  • Loading branch information
openshift-merge-bot[bot] authored Apr 30, 2024
2 parents 3763681 + a99fe15 commit 5e46f9c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

1 comment on commit 5e46f9c

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.