Merge pull request #10491 from ziggie1984/bump-golang-toolchain-go-1.25.5

bump golang toolchain go 1.25.5
This commit is contained in:
ziggieXXX authored and GitHub committed 2026-01-13 20:11:08 +01:00
commit 0426cf9e4b
27 files changed
+38 -38

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ runs:
# The key is used to create and later look up the cache. It's made of # The key is used to create and later look up the cache. It's made of
# four parts: # four parts:
# - The base part is made from the OS name, Go version and a # - The base part is made from the OS name, Go version and a
# job-specified key prefix. Example: `linux-go-1.25.3-unit-test-`. # 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 # It ensures that a job running on Linux with Go 1.25 only looks for
# caches from the same environment. # caches from the same environment.
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a # - The unique part is the `hashFiles('**/go.sum')`, which calculates a
+1 -1
View File
@@ -40,7 +40,7 @@ env:
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.25.3 GO_VERSION: 1.25.5
jobs: jobs:
static-checks: static-checks:
+1 -1
View File
@@ -12,7 +12,7 @@ defaults:
env: env:
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.25.3 GO_VERSION: 1.25.5
jobs: jobs:
######################## ########################
+1 -1
View File
@@ -3,7 +3,7 @@ version: "2"
run: run:
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
go: "1.25.3" go: "1.25.5"
# Abort after 10 minutes. # Abort after 10 minutes.
timeout: 10m timeout: 10m
+1 -1
View File
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
FROM golang:1.25.3-alpine as builder FROM golang:1.25.5-alpine as builder
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS # Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed. # queries required to connect to linked containers succeed.
+1 -1
View File
@@ -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 # 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 # GitHub Actions. This is the reference version for the project. All other Go
# versions are checked against this version. # versions are checked against this version.
GO_VERSION = 1.25.3 GO_VERSION = 1.25.5
GOBUILD := $(GOCC) build -v GOBUILD := $(GOCC) build -v
GOINSTALL := $(GOCC) install -v GOINSTALL := $(GOCC) install -v
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/cert module github.com/lightningnetwork/lnd/cert
go 1.19 go 1.24.11
require github.com/stretchr/testify v1.8.2 require github.com/stretchr/testify v1.8.2
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/clock module github.com/lightningnetwork/lnd/clock
go 1.19 go 1.24.11
require github.com/stretchr/testify v1.8.2 require github.com/stretchr/testify v1.8.2
+1 -1
View File
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
FROM golang:1.25.3-alpine AS builder FROM golang:1.25.5-alpine AS builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>" LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
+1 -1
View File
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
FROM golang:1.25.3-alpine as builder FROM golang:1.25.5-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>" LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
+9 -9
View File
@@ -93,7 +93,7 @@ following build dependencies are required:
### Installing Go ### Installing Go
`lnd` is written in Go, with a minimum version of `1.24.9` (or, in case this `lnd` is written in Go, with a minimum version of `1.24.11` (or, in case this
document gets out of date, whatever the Go version in the main `go.mod` file document gets out of date, whatever the Go version in the main `go.mod` file
requires). To install, run one of the following commands for your OS: requires). To install, run one of the following commands for your OS:
@@ -101,15 +101,15 @@ requires). To install, run one of the following commands for your OS:
<summary>Linux (x86-64)</summary> <summary>Linux (x86-64)</summary>
``` ```
wget https://dl.google.com/go/go1.24.9.linux-amd64.tar.gz wget https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz
echo "5b7899591c2dd6e9da1809fde4a2fad842c45d3f6b9deb235ba82216e31e34a6 go1.24.9.linux-amd64.tar.gz" | sha256sum --check echo "bceca00afaac856bc48b4cc33db7cd9eb383c81811379faed3bdbc80edb0af65 go1.24.11.linux-amd64.tar.gz" | sha256sum --check
``` ```
The command above should output `go1.24.9.linux-amd64.tar.gz: OK`. If it The command above should output `go1.24.11.linux-amd64.tar.gz: OK`. If it
doesn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install doesn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go: this version of Go. If it matches, then proceed to install Go:
``` ```
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.9.linux-amd64.tar.gz sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.11.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin
``` ```
</details> </details>
@@ -118,15 +118,15 @@ requires). To install, run one of the following commands for your OS:
<summary>Linux (ARMv6)</summary> <summary>Linux (ARMv6)</summary>
``` ```
wget https://dl.google.com/go/go1.24.9.linux-armv6l.tar.gz wget https://dl.google.com/go/go1.24.11.linux-armv6l.tar.gz
echo "39dafc8e7e5e455995f87e1ffc6b0892302ea519c1f0e59c9e2e0fda41b8aa56 go1.24.9.linux-armv6l.tar.gz" | sha256sum --check echo "24d712a7e8ea2f429c05bc67287249e0291f2fe0ea6d6ff268f11b7343ad0f47 go1.24.11.linux-armv6l.tar.gz" | sha256sum --check
``` ```
The command above should output `go1.24.9.linux-armv6l.tar.gz: OK`. If it The command above should output `go1.24.11.linux-armv6l.tar.gz: OK`. If it
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
this version of Go. If it matches, then proceed to install Go: this version of Go. If it matches, then proceed to install Go:
``` ```
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.9.linux-armv6l.tar.gz sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.11.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin
``` ```
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/fn/v2 module github.com/lightningnetwork/lnd/fn/v2
go 1.23 go 1.24.11
require ( require (
github.com/stretchr/testify v1.8.1 github.com/stretchr/testify v1.8.1
+4 -4
View File
@@ -20,11 +20,11 @@ func TestSomeToOk(t *testing.T) {
} }
func TestSomeToOkf(t *testing.T) { func TestSomeToOkf(t *testing.T) {
errStr := "err" const errFmt = "missing value: %s"
require.Equal(t, Some(1).SomeToOkf(errStr), Ok(1)) require.Equal(t, Some(1).SomeToOkf(errFmt, "test"), Ok(1))
require.Equal( require.Equal(
t, None[uint8]().SomeToOkf(errStr), t, None[uint8]().SomeToOkf(errFmt, "test"),
Err[uint8](fmt.Errorf(errStr)), Err[uint8](fmt.Errorf(errFmt, "test")),
) )
} }
+1 -1
View File
@@ -219,6 +219,6 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d
// If you change this please also update docs/INSTALL.md and GO_VERSION in // If you change this please also update docs/INSTALL.md and GO_VERSION in
// Makefile (then run `make lint` to see where else it needs to be updated as // Makefile (then run `make lint` to see where else it needs to be updated as
// well). // well).
go 1.24.9 go 1.24.11
retract v0.0.2 retract v0.0.2
+1 -1
View File
@@ -24,4 +24,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )
go 1.24.9 go 1.24.11
+1 -1
View File
@@ -147,4 +147,4 @@ replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11
// https://deps.dev/advisory/OSV/GO-2021-0053?from=%2Fgo%2Fgithub.com%252Fgogo%252Fprotobuf%2Fv1.3.1 // https://deps.dev/advisory/OSV/GO-2021-0053?from=%2Fgo%2Fgithub.com%252Fgogo%252Fprotobuf%2Fv1.3.1
replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2 replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
go 1.24.9 go 1.24.11
+1 -1
View File
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
FROM golang:1.25.3-bookworm FROM golang:1.25.5-bookworm
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git \ git \
+1 -1
View File
@@ -6,7 +6,7 @@ set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# golang docker image version used in this script. # golang docker image version used in this script.
GO_IMAGE=docker.io/library/golang:1.25.3-alpine GO_IMAGE=docker.io/library/golang:1.25.5-alpine
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \ PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf) go list -f '{{.Version}}' -m google.golang.org/protobuf)
+1 -1
View File
@@ -1,6 +1,6 @@
# If you change this please also update GO_VERSION in Makefile (then 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). # `make lint` to see where else it needs to be updated as well).
FROM golang:1.25.3-bookworm FROM golang:1.25.5-bookworm
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering> MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
+1 -1
View File
@@ -4,4 +4,4 @@ require github.com/lightningnetwork/lnd/ticker v1.0.0
replace github.com/lightningnetwork/lnd/ticker v1.0.0 => ../ticker replace github.com/lightningnetwork/lnd/ticker v1.0.0 => ../ticker
go 1.19 go 1.24.11
+1 -1
View File
@@ -75,4 +75,4 @@ require (
modernc.org/token v1.1.0 // indirect modernc.org/token v1.1.0 // indirect
) )
go 1.24.9 go 1.24.11
+1 -1
View File
@@ -1,3 +1,3 @@
module github.com/lightningnetwork/lnd/ticker module github.com/lightningnetwork/lnd/ticker
go 1.19 go 1.24.11
+1 -1
View File
@@ -22,4 +22,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )
go 1.24.9 go 1.24.11
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.25.3 FROM golang:1.25.5
RUN apt-get update && apt-get install -y git RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache ENV GOCACHE=/tmp/build/.cache
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/tools module github.com/lightningnetwork/lnd/tools
go 1.24.9 go 1.24.11
require ( require (
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect 4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/tools/linters module github.com/lightningnetwork/lnd/tools/linters
go 1.24.9 go 1.24.11
require ( require (
github.com/golangci/plugin-module-register v0.1.1 github.com/golangci/plugin-module-register v0.1.1
+1 -1
View File
@@ -23,4 +23,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )
go 1.24.9 go 1.24.11