Skip to content

go.mod: bump lnd to v0.20.1-beta, go to 1.25.5#264

Merged
hieblmi merged 2 commits intolightninglabs:masterfrom
hieblmi:bump-lnd-v0.20.1-beta
Feb 24, 2026
Merged

go.mod: bump lnd to v0.20.1-beta, go to 1.25.5#264
hieblmi merged 2 commits intolightninglabs:masterfrom
hieblmi:bump-lnd-v0.20.1-beta

Conversation

@hieblmi
Copy link
Contributor

@hieblmi hieblmi commented Feb 12, 2026

No description provided.

@hieblmi hieblmi marked this pull request as draft February 12, 2026 16:10
@hieblmi hieblmi marked this pull request as ready for review February 12, 2026 16:28
@hieblmi hieblmi requested review from bhandras and starius February 12, 2026 16:28
@hieblmi hieblmi requested a review from sputn1ck February 12, 2026 18:38
tools/Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM golang:1.24.9-bookworm
FROM golang:1.25-bookworm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use 1.26 in tools and CI?

Also, should we pin the patch version here? Like golang:1.25.5-bookworm or golang:1.26.0-bookworm

replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.33.0-hex-display

go 1.24.9
go 1.25.5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI still pins GO_VERSION: 1.24.6 in .github/workflows/main.yml.

Since Go 1.21, the go command will auto‑download a newer toolchain when go.mod requires a higher version and GOTOOLCHAIN=auto (the default), that is why CI passed:

Run actions/setup-go@v5
Setup go version spec ~1.24.6
Found in cache @ /opt/hostedtoolcache/go/1.24.12/x64
Added go to the path
Successfully set up Go version ~1.24.6
go: downloading go1.25.5 (linux/amd64)
/opt/hostedtoolcache/go/1.24.12/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.24.12/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Cache is not found
go version go1.25.5 linux/amd64

But ideally we keep them in sync.

I propose to move .github/workflows/main.yml to 1.26. In LND the common practice is to keep go.mod at previous Go version (i.e. 1.25) and CI/toolchain at the latest Go version (i.e. 1.26).

@hieblmi hieblmi force-pushed the bump-lnd-v0.20.1-beta branch 2 times, most recently from c816cb4 to bd42ffe Compare February 13, 2026 08:06
@hieblmi hieblmi requested a review from starius February 13, 2026 08:14
@lightninglabs-deploy
Copy link

@starius: review reminder

tools/go.mod Outdated
module github.com/lightninglabs/lndclient/tools

go 1.24.6
go 1.26
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in go.mod it should stay 1.25.5

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

tools/Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM golang:1.24.9-bookworm
FROM golang:1.26-bookworm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.26.0-bookworm

So it is fully pinned.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@hieblmi hieblmi merged commit f483132 into lightninglabs:master Feb 24, 2026
1 check passed
@hieblmi hieblmi deleted the bump-lnd-v0.20.1-beta branch February 24, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants