Skip to content

Commit 1a5fda6

Browse files
authored
Merge pull request #10152 from lightningnetwork/0-19-3-branch-rc2
release: create v0.19.3-rc2 branch
2 parents 985d29f + c113aa4 commit 1a5fda6

File tree

28 files changed

+747
-105
lines changed

28 files changed

+747
-105
lines changed

.github/actions/setup-go/action.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,23 @@ runs:
3838
~/.cache/go-build
3939
~/Library/Caches/go-build
4040
~\AppData\Local\go-build
41-
key: ${{ runner.os }}-go-${{ inputs.go-version }}-${{ inputs.key-prefix }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
41+
42+
# The key is used to create and later look up the cache. It's made of
43+
# four parts:
44+
# - The base part is made from the OS name, Go version and a
45+
# job-specified key prefix. Example: `linux-go-1.23.12-unit-test-`.
46+
# It ensures that a job running on Linux with Go 1.23 only looks for
47+
# caches from the same environment.
48+
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
49+
# hash (a fingerprint) of the go.sum file.
50+
key: ${{ runner.os }}-go-${{ inputs.go-version }}-${{ inputs.key-prefix }}-${{ hashFiles('**/go.sum') }}
51+
52+
# The restore-keys provides a list of fallback keys. If no cache
53+
# matches the key exactly, the action will look for a cache where the
54+
# key starts with one of the restore-keys. The action searches the
55+
# restore-keys list in order and restores the most recently created
56+
# cache that matches the prefix. Once the job is done, a new cache is
57+
# created and saved using the new key.
4258
restore-keys: |
4359
${{ runner.os }}-go-${{ inputs.go-version }}-${{ inputs.key-prefix }}-${{ github.job }}-
4460
${{ runner.os }}-go-${{ inputs.go-version }}-${{ inputs.key-prefix }}-

.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.23.9
37+
GO_VERSION: 1.23.12
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.23.9
15+
GO_VERSION: 1.23.12
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.23.9"
4+
go: "1.23.12"
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.23.9-alpine as builder
3+
FROM golang:1.23.12-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
@@ -28,7 +28,7 @@ ACTIVE_GO_VERSION_MINOR := $(shell echo $(ACTIVE_GO_VERSION) | cut -d. -f2)
2828
# GO_VERSION is the Go version used for the release build, docker files, and
2929
# GitHub Actions. This is the reference version for the project. All other Go
3030
# versions are checked against this version.
31-
GO_VERSION = 1.23.9
31+
GO_VERSION = 1.23.12
3232

3333
GOBUILD := $(GOCC) build -v
3434
GOINSTALL := $(GOCC) install -v

build/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const (
5151

5252
// AppPreRelease MUST only contain characters from semanticAlphabet per
5353
// the semantic versioning spec.
54-
AppPreRelease = "beta.rc1"
54+
AppPreRelease = "beta.rc2"
5555
)
5656

5757
func init() {

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.23.9-alpine AS builder
3+
FROM golang:1.23.12-alpine AS builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
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.23.9-alpine as builder
3+
FROM golang:1.23.12-alpine as builder
44

55
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
66

docs/INSTALL.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,24 @@ following build dependencies are required:
9393

9494
### Installing Go
9595

96-
`lnd` is written in Go, with a minimum version of `1.23.9` (or, in case this
96+
`lnd` is written in Go, with a minimum version of `1.23.12` (or, in case this
9797
document gets out of date, whatever the Go version in the main `go.mod` file
9898
requires). To install, run one of the following commands for your OS:
9999

100100
<details>
101101
<summary>Linux (x86-64)</summary>
102102

103103
```
104-
wget https://dl.google.com/go/go1.23.9.linux-amd64.tar.gz
105-
sha256sum go1.23.9.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
104+
wget https://dl.google.com/go/go1.23.12.linux-amd64.tar.gz
105+
sha256sum go1.23.12.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
106106
```
107107

108108
The final output of the command above should be
109-
`de03e45d7a076c06baaa9618d42b3b6a0561125b87f6041c6397680a71e5bb26`. If it
109+
`d3847fef834e9db11bf64e3fb34db9c04db14e068eeb064f49af747010454f90`. If it
110110
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
111111
this version of Go. If it matches, then proceed to install Go:
112112
```
113-
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.9.linux-amd64.tar.gz
113+
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.12.linux-amd64.tar.gz
114114
export PATH=$PATH:/usr/local/go/bin
115115
```
116116
</details>
@@ -119,16 +119,16 @@ requires). To install, run one of the following commands for your OS:
119119
<summary>Linux (ARMv6)</summary>
120120

121121
```
122-
wget https://dl.google.com/go/go1.23.9.linux-armv6l.tar.gz
123-
sha256sum go1.23.9.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
122+
wget https://dl.google.com/go/go1.23.12.linux-armv6l.tar.gz
123+
sha256sum go1.23.12.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
124124
```
125125

126126
The final output of the command above should be
127-
`ade33880caacb8919b48767e0957e9880f2cdf634e137402a6f22552504136dd`. If it
127+
`9704eba01401a3793f54fac162164b9c5d8cc6f3cab5cee72684bb72294d9f41`. If it
128128
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
129129
this version of Go. If it matches, then proceed to install Go:
130130
```
131-
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.9.linux-armv6l.tar.gz
131+
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.12.linux-armv6l.tar.gz
132132
export PATH=$PATH:/usr/local/go/bin
133133
```
134134

0 commit comments

Comments
 (0)