build: set min build version to Go 1.22.6

Go 1.23 was released this week, so with this PR we update the build
system to officially support the last two releases.
This commit is contained in:
Olaoluwa Osuntokun authored and Oliver Gugger committed 2024-08-20 19:13:23 +02:00
1 parent b4693b2010
commit 19b5a1fb05
12 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ set -e
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
# golang docker image version used in this script.
GO_IMAGE=docker.io/library/golang:1.21.4-alpine
GO_IMAGE=docker.io/library/golang:1.22.6-alpine
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf)