multi: update Go to 1.23.10

This commit is contained in:
Boris Nagaev
2025-06-28 19:58:48 -03:00
parent fb48ffe2b6
commit 643fbb8af6
19 changed files with 30 additions and 30 deletions

View File

@@ -34,7 +34,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.23.9
GO_VERSION: 1.23.10
jobs:
########################

View File

@@ -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.23.9
GO_VERSION: 1.23.10
jobs:
main:

View File

@@ -1,7 +1,7 @@
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.23.9"
go: "1.23.10"
# Abort after 10 minutes.
timeout: 10m

View File

@@ -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.23.9-alpine as builder
FROM golang:1.23.10-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.

View File

@@ -28,7 +28,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.23.9
GO_VERSION = 1.23.10
GOBUILD := $(GOCC) build -v
GOINSTALL := $(GOCC) install -v

View File

@@ -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.23.9-alpine AS builder
FROM golang:1.23.10-alpine AS builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@@ -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.23.9-alpine as builder
FROM golang:1.23.10-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@@ -93,7 +93,7 @@ following build dependencies are required:
### Installing Go
`lnd` is written in Go, with a minimum version of `1.23.9` (or, in case this
`lnd` is written in Go, with a minimum version of `1.23.10` (or, in case this
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:
@@ -101,37 +101,37 @@ requires). To install, run one of the following commands for your OS:
<summary>Linux (x86-64)</summary>
```
wget https://dl.google.com/go/go1.23.9.linux-amd64.tar.gz
sha256sum go1.23.9.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
wget https://dl.google.com/go/go1.23.10.linux-amd64.tar.gz
sha256sum go1.23.10.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
```
The final output of the command above should be
`de03e45d7a076c06baaa9618d42b3b6a0561125b87f6041c6397680a71e5bb26`. If it
`535f9f81802499f2a7dbfa70abb8fda3793725fcc29460f719815f6e10b5fd60`. If it
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:
```
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.9.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.10.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
```
</details>
<details>
<summary>Linux (ARMv6)</summary>
```
wget https://dl.google.com/go/go1.23.9.linux-armv6l.tar.gz
sha256sum go1.23.9.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
wget https://dl.google.com/go/go1.23.10.linux-armv6l.tar.gz
sha256sum go1.23.10.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
```
The final output of the command above should be
`ade33880caacb8919b48767e0957e9880f2cdf634e137402a6f22552504136dd`. If it
`b6e00c9a72406d394b9f167e74670e28b72ed559cca8115b21be1cb9d5316cb4`. If it
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:
```
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.9.linux-armv6l.tar.gz
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.10.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
```
```
</details>
<details>

2
go.mod
View File

@@ -220,6 +220,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
// Makefile (then run `make lint` to see where else it needs to be updated as
// well).
go 1.23.6
go 1.23.10
retract v0.0.2

View File

@@ -24,4 +24,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
go 1.23.0
go 1.23.10

View File

@@ -150,4 +150,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
replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
go 1.23.0
go 1.23.10

View File

@@ -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.23.9-bookworm
FROM golang:1.23.10-bookworm
RUN apt-get update && apt-get install -y \
git \

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.23.6-alpine
GO_IMAGE=docker.io/library/golang:1.23.10-alpine
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf)

View File

@@ -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.23.9-bookworm
FROM golang:1.23.10-bookworm
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>

View File

@@ -74,4 +74,4 @@ require (
modernc.org/token v1.1.0 // indirect
)
go 1.23.0
go 1.23.10

View File

@@ -22,4 +22,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
go 1.23.0
go 1.23.10

View File

@@ -1,4 +1,4 @@
FROM golang:1.23.9
FROM golang:1.23.10
RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache

View File

@@ -1,6 +1,6 @@
module github.com/lightningnetwork/lnd/tools
go 1.23.6
go 1.23.10
require (
github.com/btcsuite/btcd v0.24.2

View File

@@ -23,4 +23,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
go 1.23.0
go 1.23.10