Skip to content

Commit

Permalink
Reduces go.mod minimum go to patch 1.22.0
Browse files Browse the repository at this point in the history
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
  • Loading branch information
kaovilai committed Nov 28, 2024
1 parent dd1c6a6 commit c3967c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/unreleased/8399-kaovilai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reduce minimum required go toolchain in release-1.15 go.mod
8 changes: 7 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c3967c3

Please sign in to comment.