Skip to content

Commit 61852fb

Browse files
committed
multi: update build system to Go 1.23
1 parent 68105be commit 61852fb

File tree

11 files changed

+24
-24
lines changed

11 files changed

+24
-24
lines changed

.github/workflows/main.yml

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

3535
# If you change this please also update GO_VERSION in Makefile (then run
3636
# `make lint` to see where else it needs to be updated as well).
37-
GO_VERSION: 1.22.11
37+
GO_VERSION: 1.23.6
3838

3939
jobs:
4040
########################

.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.22.11
15+
GO_VERSION: 1.23.6
1616

1717
jobs:
1818
main:

.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.22.11"
4+
go: "1.23.6"
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.22.11-alpine as builder
3+
FROM golang:1.23.6-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
@@ -35,7 +35,7 @@ endif
3535
# GO_VERSION is the Go version used for the release build, docker files, and
3636
# GitHub Actions. This is the reference version for the project. All other Go
3737
# versions are checked against this version.
38-
GO_VERSION = 1.22.11
38+
GO_VERSION = 1.23.6
3939

4040
GOBUILD := $(LOOPVARFIX) go build -v
4141
GOINSTALL := $(LOOPVARFIX) go 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.22.11-alpine as builder
3+
FROM golang:1.23.6-alpine as builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
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.22.11-alpine as builder
3+
FROM golang:1.23.6-alpine as builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
66

lnrpc/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.22.11-bookworm
3+
FROM golang:1.23.6-bookworm
44

55
RUN apt-get update && apt-get install -y \
66
git \

lnrpc/gen_protos_docker.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
set -e
44

55
# Directory of the script file, independent of where it's called from.
6-
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
6+
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
77

88
# golang docker image version used in this script.
9-
GO_IMAGE=docker.io/library/golang:1.22.11-alpine
9+
GO_IMAGE=docker.io/library/golang:1.23.6-alpine
1010

1111
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
12-
go list -f '{{.Version}}' -m google.golang.org/protobuf)
12+
go list -f '{{.Version}}' -m google.golang.org/protobuf)
1313
GRPC_GATEWAY_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
14-
go list -f '{{.Version}}' -m github.com/grpc-ecosystem/grpc-gateway/v2)
14+
go list -f '{{.Version}}' -m github.com/grpc-ecosystem/grpc-gateway/v2)
1515

1616
echo "Building protobuf compiler docker image..."
1717
docker build -t lnd-protobuf-builder \
18-
--build-arg PROTOBUF_VERSION="$PROTOBUF_VERSION" \
19-
--build-arg GRPC_GATEWAY_VERSION="$GRPC_GATEWAY_VERSION" \
20-
.
18+
--build-arg PROTOBUF_VERSION="$PROTOBUF_VERSION" \
19+
--build-arg GRPC_GATEWAY_VERSION="$GRPC_GATEWAY_VERSION" \
20+
.
2121

2222
echo "Compiling and formatting *.proto files..."
2323
docker run \
24-
--rm \
25-
--user "$UID:$(id -g)" \
26-
-e UID=$UID \
27-
-e COMPILE_MOBILE \
28-
-e SUBSERVER_PREFIX \
29-
-v "$DIR/../:/build" \
30-
lnd-protobuf-builder
24+
--rm \
25+
--user "$UID:$(id -g)" \
26+
-e UID=$UID \
27+
-e COMPILE_MOBILE \
28+
-e SUBSERVER_PREFIX \
29+
-v "$DIR/../:/build" \
30+
lnd-protobuf-builder

make/builder.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.22.11-bookworm
3+
FROM golang:1.23.6-bookworm
44

55
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
66

0 commit comments

Comments
 (0)