Reduces go.mod minimum go to patch 1.22.0

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
Tiger Kaovilai
2024-11-28 03:42:48 -05:00
parent dd1c6a6aab
commit c3967c3365
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
Reduce minimum required go toolchain in release-1.15 go.mod
+7 -1
View File
@@ -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