Skip to content

Commit 19b5a1f

Browse files
Roasbeefguggero
authored andcommitted
build: set min build version to Go 1.22.6
Go 1.23 was released this week, so with this PR we update the build system to officially support the last two releases.
1 parent b4693b2 commit 19b5a1f

File tree

12 files changed

+14
-15
lines changed

12 files changed

+14
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
# /dev.Dockerfile
3232
# /make/builder.Dockerfile
3333
# /.github/workflows/release.yml
34-
GO_VERSION: 1.22.5
34+
GO_VERSION: 1.22.6
3535

3636
jobs:
3737
########################

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ defaults:
1111

1212
env:
1313
# If you change this value, please change it in the following files as well:
14-
# /.travis.yml
1514
# /Dockerfile
1615
# /dev.Dockerfile
1716
# /make/builder.Dockerfile
1817
# /.github/workflows/main.yml
19-
GO_VERSION: 1.22.5
18+
GO_VERSION: 1.22.6
2019

2120
jobs:
2221
main:

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ linters-settings:
5757
- G306 # Poor file permissions used when writing to a new file.
5858

5959
staticcheck:
60-
go: "1.22.5"
60+
go: "1.22.6"
6161
checks: ["-SA1019"]
6262

6363
lll:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# /make/builder.Dockerfile
44
# /.github/workflows/main.yml
55
# /.github/workflows/release.yml
6-
FROM golang:1.22.5-alpine as builder
6+
FROM golang:1.22.6-alpine as builder
77

88
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
99
# 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.5
38+
GO_VERSION = 1.22.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
@@ -3,7 +3,7 @@
33
# /make/builder.Dockerfile
44
# /.github/workflows/main.yml
55
# /.github/workflows/release.yml
6-
FROM golang:1.22.5-alpine as builder
6+
FROM golang:1.22.6-alpine as builder
77

88
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
99

docker/btcd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.5-alpine as builder
1+
FROM golang:1.22.6-alpine as builder
22

33
LABEL maintainer="Olaoluwa Osuntokun <[email protected]>"
44

docs/INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ the following commands for your OS:
100100
<summary>Linux (x86-64)</summary>
101101

102102
```
103-
wget https://dl.google.com/go/go1.22.5.linux-amd64.tar.gz
103+
wget https://dl.google.com/go/go1.22.6.linux-amd64.tar.gz
104104
sha256sum go1.22.5.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
105105
```
106106

107107
The final output of the command above should be
108-
`904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0`. If it
108+
`999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616`. If it
109109
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
110110
this version of Go. If it matches, then proceed to install Go:
111111
```
@@ -123,7 +123,7 @@ the following commands for your OS:
123123
```
124124

125125
The final output of the command above should be
126-
`8c4587cf3e63c9aefbcafa92818c4d9d51683af93ea687bf6c7508d6fa36f85e`. If it
126+
`b566484fe89a54c525dd1a4cbfec903c1f6e8f0b7b3dbaf94c79bc9145391083`. If it
127127
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
128128
this version of Go. If it matches, then proceed to install Go:
129129
```

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,6 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d
206206

207207
// If you change this please also update .github/pull_request_template.md,
208208
// docs/INSTALL.md and GO_IMAGE in lnrpc/gen_protos_docker.sh.
209-
go 1.21.4
209+
go 1.22.6
210210

211211
retract v0.0.2

lnrpc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.5-bookworm
1+
FROM golang:1.22.6-bookworm
22

33
RUN apt-get update && apt-get install -y \
44
git \

0 commit comments

Comments
 (0)