Skip to content

Commit 8e3d109

Browse files
authored
Merge pull request #2273 from cevich/add_golang121_warning
[CI:DOCS] Add golang 1.21 update warning
2 parents 3eacbe5 + 5e75455 commit 8e3d109

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

go.mod

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
module github.com/containers/skopeo
22

3-
go 1.19
3+
// Minimum required golang version
4+
go 1.19 // ***** ATTENTION WARNING CAUTION DANGER ******
5+
6+
// Go versions 1.21 and later will AUTO-UPDATE based
7+
// on currently running tools and the (new) `toolchain`
8+
// value (when also increasing the `go` value above).
9+
// ref: https://go.dev/doc/toolchain Because several
10+
// different distros and distro-versions build from
11+
// this code, golang version consistency is
12+
// desireable. After manually updating to 1.21, a
13+
// `toolchain` specificication should be added to pin
14+
// the version and block auto-updates. This does not
15+
// block any future changes to the `go` value.
16+
// Ref: Upstream discussion:
17+
// https://github.com/golang/go/issues/65847
18+
// ***** ATTENTION WARNING CAUTION DANGER ******
419

520
require (
621
github.com/Masterminds/semver/v3 v3.2.1

0 commit comments

Comments
 (0)