mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
Merge pull request #9785 from Roasbeef/go-1-23-9
build: bump Go version to v1.23.9
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -34,7 +34,7 @@ env:
|
|||||||
|
|
||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
GO_VERSION: 1.23.6
|
GO_VERSION: 1.23.9
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
########################
|
########################
|
||||||
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -12,7 +12,7 @@ defaults:
|
|||||||
env:
|
env:
|
||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
GO_VERSION: 1.23.6
|
GO_VERSION: 1.23.9
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
run:
|
run:
|
||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
go: "1.23.6"
|
go: "1.23.9"
|
||||||
|
|
||||||
# Abort after 10 minutes.
|
# Abort after 10 minutes.
|
||||||
timeout: 10m
|
timeout: 10m
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-alpine as builder
|
FROM golang:1.23.9-alpine as builder
|
||||||
|
|
||||||
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
|
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
|
||||||
# queries required to connect to linked containers succeed.
|
# queries required to connect to linked containers succeed.
|
||||||
|
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ ACTIVE_GO_VERSION_MINOR := $(shell echo $(ACTIVE_GO_VERSION) | cut -d. -f2)
|
|||||||
# GO_VERSION is the Go version used for the release build, docker files, and
|
# GO_VERSION is the Go version used for the release build, docker files, and
|
||||||
# GitHub Actions. This is the reference version for the project. All other Go
|
# GitHub Actions. This is the reference version for the project. All other Go
|
||||||
# versions are checked against this version.
|
# versions are checked against this version.
|
||||||
GO_VERSION = 1.23.6
|
GO_VERSION = 1.23.9
|
||||||
|
|
||||||
GOBUILD := $(GOCC) build -v
|
GOBUILD := $(GOCC) build -v
|
||||||
GOINSTALL := $(GOCC) install -v
|
GOINSTALL := $(GOCC) install -v
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-alpine AS builder
|
FROM golang:1.23.9-alpine AS builder
|
||||||
|
|
||||||
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-alpine as builder
|
FROM golang:1.23.9-alpine as builder
|
||||||
|
|
||||||
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||||
|
|
||||||
|
@@ -93,7 +93,7 @@ following build dependencies are required:
|
|||||||
|
|
||||||
### Installing Go
|
### Installing Go
|
||||||
|
|
||||||
`lnd` is written in Go, with a minimum version of `1.23.6` (or, in case this
|
`lnd` is written in Go, with a minimum version of `1.23.9` (or, in case this
|
||||||
document gets out of date, whatever the Go version in the main `go.mod` file
|
document gets out of date, whatever the Go version in the main `go.mod` file
|
||||||
requires). To install, run one of the following commands for your OS:
|
requires). To install, run one of the following commands for your OS:
|
||||||
|
|
||||||
@@ -101,16 +101,16 @@ requires). To install, run one of the following commands for your OS:
|
|||||||
<summary>Linux (x86-64)</summary>
|
<summary>Linux (x86-64)</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://dl.google.com/go/go1.23.6.linux-amd64.tar.gz
|
wget https://dl.google.com/go/go1.23.9.linux-amd64.tar.gz
|
||||||
sha256sum go1.23.6.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
|
sha256sum go1.23.9.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
|
||||||
```
|
```
|
||||||
|
|
||||||
The final output of the command above should be
|
The final output of the command above should be
|
||||||
`9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d`. If it
|
`de03e45d7a076c06baaa9618d42b3b6a0561125b87f6041c6397680a71e5bb26`. If it
|
||||||
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
|
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
|
||||||
this version of Go. If it matches, then proceed to install Go:
|
this version of Go. If it matches, then proceed to install Go:
|
||||||
```
|
```
|
||||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.6.linux-amd64.tar.gz
|
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.9.linux-amd64.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
@@ -119,16 +119,16 @@ requires). To install, run one of the following commands for your OS:
|
|||||||
<summary>Linux (ARMv6)</summary>
|
<summary>Linux (ARMv6)</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://dl.google.com/go/go1.23.6.linux-armv6l.tar.gz
|
wget https://dl.google.com/go/go1.23.9.linux-armv6l.tar.gz
|
||||||
sha256sum go1.23.6.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
|
sha256sum go1.23.9.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
|
||||||
```
|
```
|
||||||
|
|
||||||
The final output of the command above should be
|
The final output of the command above should be
|
||||||
`27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74`. If it
|
`ade33880caacb8919b48767e0957e9880f2cdf634e137402a6f22552504136dd`. If it
|
||||||
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
|
isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install
|
||||||
this version of Go. If it matches, then proceed to install Go:
|
this version of Go. If it matches, then proceed to install Go:
|
||||||
```
|
```
|
||||||
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.6.linux-armv6l.tar.gz
|
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.9.linux-armv6l.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-bookworm
|
FROM golang:1.23.9-bookworm
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-bookworm
|
FROM golang:1.23.9-bookworm
|
||||||
|
|
||||||
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23.6
|
FROM golang:1.23.9
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git
|
RUN apt-get update && apt-get install -y git
|
||||||
ENV GOCACHE=/tmp/build/.cache
|
ENV GOCACHE=/tmp/build/.cache
|
||||||
|
Reference in New Issue
Block a user