multi: update Go to 1.24.10

This commit is contained in:
Boris Nagaev 2025-11-16 00:23:42 -03:00
parent de969fdf25
commit 508d90f384
No known key found for this signature in database
10 changed files with 16 additions and 16 deletions

View file

@ -20,7 +20,7 @@ env:
# If you change this value, please change it in the following files as well:
# /Dockerfile
GO_VERSION: 1.24.6
GO_VERSION: 1.24.10
jobs:
########################

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} golang:1.24.6-alpine as builder
FROM --platform=${BUILDPLATFORM} golang:1.24.10-alpine as builder
# Copy in the local repository to build from.
COPY . /go/src/github.com/lightningnetwork/loop

View file

@ -67,14 +67,14 @@ for a release using the following commands:
```bash
$ go version
go version go1.25.0 linux/amd64
$ go install golang.org/dl/go1.24.6@latest
$ go1.24.6 download
Unpacking /home/user/sdk/go1.24.6/go1.24.6.linux-amd64.tar.gz ...
Success. You may now run 'go1.24.6'
$ go1.24.6 version
go version go1.24.6 linux/amd64
$ go install golang.org/dl/go1.24.10@latest
$ go1.24.10 download
Unpacking /home/user/sdk/go1.24.10/go1.24.10.linux-amd64.tar.gz ...
Success. You may now run 'go1.24.10'
$ go1.24.10 version
go version go1.24.10 linux/amd64
$ GO_CMD=/home/user/go/bin/go1.24.6 ./release.sh v0.31.5
$ GO_CMD=/home/user/go/bin/go1.24.10 ./release.sh v0.31.5
```
On MacOS, you will need to install GNU tar and GNU gzip, which can be done with

2
go.mod
View file

@ -225,4 +225,4 @@ replace gonum.org/v1/gonum => github.com/gonum/gonum v0.11.0
replace gonum.org/v1/plot => github.com/gonum/plot v0.10.1
go 1.24.6
go 1.24.10

View file

@ -1,6 +1,6 @@
module github.com/lightninglabs/loop/looprpc
go 1.24.6
go 1.24.10
require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3

View file

@ -1,4 +1,4 @@
FROM golang:1.24.6
FROM golang:1.24.10
RUN apt-get update && apt-get install -y --no-install-recommends \
git ca-certificates zip gpg && rm -rf /var/lib/apt/lists/*

View file

@ -37,7 +37,7 @@ if ! command -v "$GO_CMD" >/dev/null 2>&1; then
fi
# Make sure we have the expected Go version installed.
EXPECTED_VERSION="go1.24.6"
EXPECTED_VERSION="go1.24.10"
INSTALLED_VERSION=$("$GO_CMD" version 2>/dev/null | awk '{print $3}')
if [ "$INSTALLED_VERSION" = "$EXPECTED_VERSION" ]; then
green "Go version matches expected: $INSTALLED_VERSION"

View file

@ -13,4 +13,4 @@ require (
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
)
go 1.24.6
go 1.24.10

View file

@ -1,4 +1,4 @@
FROM golang:1.24.6
FROM golang:1.24.10
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates \
&& rm -rf /var/lib/apt/lists/*

View file

@ -1,6 +1,6 @@
module github.com/lightninglabs/loop/tools
go 1.24.6
go 1.24.10
require (
// Once golangci-lint v2.4.1 update it here.