multi: downgrade all Go versions to 1.23.12

This commit is contained in:
Boris Nagaev 2025-10-30 20:50:29 -03:00
parent 633eb69df8
commit fd6b10989f
No known key found for this signature in database
8 changed files with 14 additions and 14 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.23.12
jobs:
########################

View file

@ -1,6 +1,6 @@
version: "2"
run:
go: "1.24"
go: "1.23"
# timeout for analysis
timeout: 4m

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} golang:1.24.6-alpine as builder
FROM --platform=${BUILDPLATFORM} golang:1.23.12-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.23.12@latest
$ go1.23.12 download
Unpacking /home/user/sdk/go1.23.12/go1.23.12.linux-amd64.tar.gz ...
Success. You may now run 'go1.23.12'
$ go1.23.12 version
go version go1.23.12 linux/amd64
$ GO_CMD=/home/user/go/bin/go1.24.6 ./release.sh v0.31.3
$ GO_CMD=/home/user/go/bin/go1.23.12 ./release.sh v0.31.5
```
On MacOS, you will need to install GNU tar and GNU gzip, which can be done with

View file

@ -1,4 +1,4 @@
FROM golang:1.24.6
FROM golang:1.23.12
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.23.12"
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

@ -1,4 +1,4 @@
FROM golang:1.24.6
FROM golang:1.23.12
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.23.12
require (
// Once golangci-lint v2.4.1 update it here.