Skip to content

Commit 6ade31d

Browse files
authored
Merge pull request #10285 from Roasbeef/go-125-2
build: update CI+release version to Go 1.25.2
2 parents bc07d97 + 7fcbbd4 commit 6ade31d

File tree

21 files changed

+32
-34
lines changed

21 files changed

+32
-34
lines changed

.github/actions/setup-go/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ runs:
5050
~\AppData\Local\go-build
5151
5252
# The key is used to create and later look up the cache. It's made of
53-
# four parts:
53+
# four parts:
5454
# - The base part is made from the OS name, Go version and a
55-
# job-specified key prefix. Example: `linux-go-1.24.6-unit-test-`.
56-
# It ensures that a job running on Linux with Go 1.24 only looks for
55+
# job-specified key prefix. Example: `linux-go-1.25.2-unit-test-`.
56+
# It ensures that a job running on Linux with Go 1.25 only looks for
5757
# caches from the same environment.
5858
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
5959
# hash (a fingerprint) of the go.sum file.

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ env:
4040

4141
# If you change this please also update GO_VERSION in Makefile (then run
4242
# `make lint` to see where else it needs to be updated as well).
43-
GO_VERSION: 1.24.6
43+
GO_VERSION: 1.25.2
4444

4545
jobs:
4646
static-checks:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defaults:
1212
env:
1313
# If you change this please also update GO_VERSION in Makefile (then run
1414
# `make lint` to see where else it needs to be updated as well).
15-
GO_VERSION: 1.24.6
15+
GO_VERSION: 1.25.2
1616

1717
jobs:
1818
########################

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
run:
22
# If you change this please also update GO_VERSION in Makefile (then run
33
# `make lint` to see where else it needs to be updated as well).
4-
go: "1.24.6"
4+
go: "1.25.2"
55

66
# Abort after 10 minutes.
77
timeout: 10m

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# If you change this please also update GO_VERSION in Makefile (then run
22
# `make lint` to see where else it needs to be updated as well).
3-
FROM golang:1.24.6-alpine as builder
3+
FROM golang:1.25.2-alpine as builder
44

55
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
66
# queries required to connect to linked containers succeed.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ACTIVE_GO_VERSION_MINOR := $(shell echo $(ACTIVE_GO_VERSION) | cut -d. -f2)
2828
# GO_VERSION is the Go version used for the release build, docker files, and
2929
# GitHub Actions. This is the reference version for the project. All other Go
3030
# versions are checked against this version.
31-
GO_VERSION = 1.24.6
31+
GO_VERSION = 1.25.2
3232

3333
GOBUILD := $(GOCC) build -v
3434
GOINSTALL := $(GOCC) install -v

dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# If you change this please also update GO_VERSION in Makefile (then run
22
# `make lint` to see where else it needs to be updated as well).
3-
FROM golang:1.24.6-alpine AS builder
3+
FROM golang:1.25.2-alpine AS builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
66

docker/btcd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# If you change this please also update GO_VERSION in Makefile (then run
22
# `make lint` to see where else it needs to be updated as well).
3-
FROM golang:1.24.6-alpine as builder
3+
FROM golang:1.25.2-alpine as builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
66

docs/INSTALL.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,23 @@ following build dependencies are required:
9393

9494
### Installing Go
9595

96-
`lnd` is written in Go, with a minimum version of `1.24.6` (or, in case this
96+
`lnd` is written in Go, with a minimum version of `1.24.8` (or, in case this
9797
document gets out of date, whatever the Go version in the main `go.mod` file
9898
requires). To install, run one of the following commands for your OS:
9999

100100
<details>
101101
<summary>Linux (x86-64)</summary>
102102

103103
```
104-
wget https://dl.google.com/go/go1.24.6.linux-amd64.tar.gz
105-
sha256sum go1.24.6.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
104+
wget https://dl.google.com/go/go1.24.8.linux-amd64.tar.gz
105+
echo "6842c516ca66c89d648a7f1dbe28e28c47b61b59f8f06633eb2ceb1188e9251d go1.24.8.linux-amd64.tar.gz" | sha256sum --check
106106
```
107107

108-
The final output of the command above should be
109-
`bbca37cc395c974ffa4893ee35819ad23ebb27426df87af92e93a9ec66ef8712`. If it
110-
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
108+
The command above should output `go1.24.8.linux-amd64.tar.gz: OK`. If it
109+
doesn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
111110
this version of Go. If it matches, then proceed to install Go:
112111
```
113-
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.6.linux-amd64.tar.gz
112+
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.8.linux-amd64.tar.gz
114113
export PATH=$PATH:/usr/local/go/bin
115114
```
116115
</details>
@@ -119,16 +118,15 @@ requires). To install, run one of the following commands for your OS:
119118
<summary>Linux (ARMv6)</summary>
120119

121120
```
122-
wget https://dl.google.com/go/go1.24.6.linux-armv6l.tar.gz
123-
sha256sum go1.24.6.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
121+
wget https://dl.google.com/go/go1.24.8.linux-armv6l.tar.gz
122+
echo "3ed8537300ab22449885a43d2931336a571df72c5433d2db4377fe7e2d5e83db go1.24.8.linux-armv6l.tar.gz" | sha256sum --check
124123
```
125124

126-
The final output of the command above should be
127-
`7feb4d25f5e72f94fda81c99d4adb6630dfa2c35211e0819417d53af6e71809e`. If it
125+
The command above should output `go1.24.8.linux-armv6l.tar.gz: OK`. If it
128126
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
129127
this version of Go. If it matches, then proceed to install Go:
130128
```
131-
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.6.linux-armv6l.tar.gz
129+
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.8.linux-armv6l.tar.gz
132130
export PATH=$PATH:/usr/local/go/bin
133131
```
134132

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,6 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d
216216
// If you change this please also update docs/INSTALL.md and GO_VERSION in
217217
// Makefile (then run `make lint` to see where else it needs to be updated as
218218
// well).
219-
go 1.24.6
219+
go 1.24.8
220220

221221
retract v0.0.2

0 commit comments

Comments
 (0)