diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index 09f47d76972..76566d1061b 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -52,8 +52,8 @@ runs: # The key is used to create and later look up the cache. It's made of # four parts: # - The base part is made from the OS name, Go version and a - # job-specified key prefix. Example: `linux-go-1.25.5-unit-test-`. - # It ensures that a job running on Linux with Go 1.25 only looks for + # job-specified key prefix. Example: `linux-go-1.26.0-unit-test-`. + # It ensures that a job running on Linux with Go 1.26 only looks for # caches from the same environment. # - The unique part is the `hashFiles('**/go.sum')`, which calculates a # hash (a fingerprint) of the go.sum file. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d54c1d1467..5abb84eb0a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ env: # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). - GO_VERSION: 1.25.5 + GO_VERSION: 1.26.0 jobs: static-checks: @@ -176,7 +176,7 @@ jobs: - name: amd64 sys: darwin-amd64 freebsd-amd64 linux-amd64 netbsd-amd64 openbsd-amd64 windows-amd64 - name: arm - sys: darwin-arm64 freebsd-arm linux-armv6 linux-armv7 linux-arm64 windows-arm + sys: darwin-arm64 freebsd-arm linux-armv6 linux-armv7 linux-arm64 windows-arm64 steps: - name: Git checkout uses: actions/checkout@v5 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 012a716287b..2d4444df7cc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ defaults: env: # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). - GO_VERSION: 1.25.5 + GO_VERSION: 1.26.0 jobs: ######################## diff --git a/.golangci.yml b/.golangci.yml index 4cb893934b1..bc8faf66311 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,7 +3,7 @@ version: "2" run: # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). - go: "1.25.5" + go: "1.26.0" # Abort after 10 minutes. timeout: 10m diff --git a/Dockerfile b/Dockerfile index 9cbe35463da..ecac8dc86e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). -FROM golang:1.25.5-alpine as builder +FROM golang:1.26.0-alpine as builder # Force Go to use the cgo based DNS resolver. This is required to ensure DNS # queries required to connect to linked containers succeed. diff --git a/Makefile b/Makefile index 7df5941a588..9b2e2881ff2 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ ACTIVE_GO_VERSION_MINOR := $(shell echo $(ACTIVE_GO_VERSION) | cut -d. -f2) # GO_VERSION is the Go version used for the release build, docker files, and # GitHub Actions. This is the reference version for the project. All other Go # versions are checked against this version. -GO_VERSION = 1.25.5 +GO_VERSION = 1.26.0 GOBUILD := $(GOCC) build -v GOINSTALL := $(GOCC) install -v diff --git a/dev.Dockerfile b/dev.Dockerfile index 4d681d8de1e..7a34578f42b 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,6 +1,6 @@ # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). -FROM golang:1.25.5-alpine AS builder +FROM golang:1.26.0-alpine AS builder LABEL maintainer="Olaoluwa Osuntokun " diff --git a/docker/btcd/Dockerfile b/docker/btcd/Dockerfile index 97ab32d3665..8252f27e171 100644 --- a/docker/btcd/Dockerfile +++ b/docker/btcd/Dockerfile @@ -1,6 +1,6 @@ # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). -FROM golang:1.25.5-alpine as builder +FROM golang:1.26.0-alpine as builder LABEL maintainer="Olaoluwa Osuntokun " diff --git a/lnrpc/Dockerfile b/lnrpc/Dockerfile index 680a774e874..6a368cd3141 100644 --- a/lnrpc/Dockerfile +++ b/lnrpc/Dockerfile @@ -1,6 +1,6 @@ # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). -FROM golang:1.25.5-bookworm +FROM golang:1.26.0-bookworm RUN apt-get update && apt-get install -y \ git \ diff --git a/lnrpc/gen_protos_docker.sh b/lnrpc/gen_protos_docker.sh index 68c65581a2a..3abf6aa3e3d 100755 --- a/lnrpc/gen_protos_docker.sh +++ b/lnrpc/gen_protos_docker.sh @@ -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.25.5-alpine +GO_IMAGE=docker.io/library/golang:1.26.0-alpine PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \ go list -f '{{.Version}}' -m google.golang.org/protobuf) diff --git a/make/builder.Dockerfile b/make/builder.Dockerfile index 99d4aec5562..ae8ad4966db 100644 --- a/make/builder.Dockerfile +++ b/make/builder.Dockerfile @@ -1,6 +1,6 @@ # If you change this please also update GO_VERSION in Makefile (then run # `make lint` to see where else it needs to be updated as well). -FROM golang:1.25.5-bookworm +FROM golang:1.26.0-bookworm MAINTAINER Olaoluwa Osuntokun diff --git a/make/release_flags.mk b/make/release_flags.mk index 1e74b299f73..d0631943f56 100644 --- a/make/release_flags.mk +++ b/make/release_flags.mk @@ -26,7 +26,7 @@ netbsd-amd64 \ openbsd-amd64 \ windows-386 \ windows-amd64 \ -windows-arm +windows-arm64 RELEASE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc monitoring peersrpc kvdb_postgres kvdb_etcd kvdb_sqlite diff --git a/tools/Dockerfile b/tools/Dockerfile index 986eddae6a9..e250068aefe 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.5 +FROM golang:1.26.0 RUN apt-get update && apt-get install -y git ENV GOCACHE=/tmp/build/.cache