diff --git a/changelogs/unreleased/8399-kaovilai b/changelogs/unreleased/8399-kaovilai new file mode 100644 index 0000000000..44b61aa8cf --- /dev/null +++ b/changelogs/unreleased/8399-kaovilai @@ -0,0 +1 @@ +Reduce minimum required go toolchain in release-1.15 go.mod diff --git a/go.mod b/go.mod index 330ece7e5c..7ee3fb2050 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,12 @@ module github.com/vmware-tanzu/velero -go 1.22.8 +// Do not pin patch version here. Leave patch at X.Y.0 +// Unset GOTOOLCHAIN to assume GOTOOLCHAIN=local where go cli version in path is used. +// Use env GOTOOLCHAIN=auto to allow go to decide whichever is newer from go.mod or cli in path. +// or GOTOOLCHAIN=goX.Y.Z to use a specific toolchain version +// See: https://go.dev/doc/toolchain#select and https://github.com/vmware-tanzu/velero/issues/8397 +// To bump minor version, run `go get go@X.Y.0 toolchain@none` (ie. `go get go@1.23.0 toolchain@none`) +go 1.22.0 require ( cloud.google.com/go/storage v1.40.0