Skip to content

Commit

Permalink
Merge pull request #22073 from cevich/add_golang121_warning
Browse files Browse the repository at this point in the history
[CI:BUILD] Add golang 1.21 update warning
  • Loading branch information
openshift-merge-bot[bot] authored Mar 26, 2024
2 parents 73fdbf2 + 48b8d7f commit 52a64aa
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/podman/v5

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/BurntSushi/toml v1.3.2
Expand Down

0 comments on commit 52a64aa

Please sign in to comment.