mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 14:50:40 +01:00
Merge pull request #7499 from Roasbeef/bump-go-version
build: bump min Go version to 1.19
This commit is contained in:
commit
d5942bf692
8 changed files with 16 additions and 16 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -29,7 +29,7 @@ env:
|
||||||
# /dev.Dockerfile
|
# /dev.Dockerfile
|
||||||
# /make/builder.Dockerfile
|
# /make/builder.Dockerfile
|
||||||
# /.github/workflows/release.yml
|
# /.github/workflows/release.yml
|
||||||
GO_VERSION: 1.19.2
|
GO_VERSION: 1.19.7
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
########################
|
########################
|
||||||
|
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -16,7 +16,7 @@ env:
|
||||||
# /dev.Dockerfile
|
# /dev.Dockerfile
|
||||||
# /make/builder.Dockerfile
|
# /make/builder.Dockerfile
|
||||||
# /.github/workflows/main.yml
|
# /.github/workflows/main.yml
|
||||||
GO_VERSION: 1.19.2
|
GO_VERSION: 1.19.7
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
|
|
|
@ -21,7 +21,7 @@ go:
|
||||||
# /make/builder.Dockerfile
|
# /make/builder.Dockerfile
|
||||||
# /.github/workflows/main.yml
|
# /.github/workflows/main.yml
|
||||||
# /.github/workflows/release.yml
|
# /.github/workflows/release.yml
|
||||||
- "1.19.2"
|
- "1.19.7"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# /make/builder.Dockerfile
|
# /make/builder.Dockerfile
|
||||||
# /.github/workflows/main.yml
|
# /.github/workflows/main.yml
|
||||||
# /.github/workflows/release.yml
|
# /.github/workflows/release.yml
|
||||||
FROM golang:1.19.2-alpine as builder
|
FROM golang:1.19.7-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.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# /make/builder.Dockerfile
|
# /make/builder.Dockerfile
|
||||||
# /.github/workflows/main.yml
|
# /.github/workflows/main.yml
|
||||||
# /.github/workflows/release.yml
|
# /.github/workflows/release.yml
|
||||||
FROM golang:1.19.2-alpine as builder
|
FROM golang:1.19.7-alpine as builder
|
||||||
|
|
||||||
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||||
|
|
||||||
|
|
|
@ -93,23 +93,23 @@ following build dependencies are required:
|
||||||
|
|
||||||
### Installing Go
|
### Installing Go
|
||||||
|
|
||||||
`lnd` is written in Go, with a minimum version of 1.18. To install, run one of
|
`lnd` is written in Go, with a minimum version of 1.19. To install, run one of
|
||||||
the following commands for your OS:
|
the following commands for your OS:
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Linux (x86-64)</summary>
|
<summary>Linux (x86-64)</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://dl.google.com/go/go1.18.linux-amd64.tar.gz
|
wget https://dl.google.com/go/go1.19.7.linux-amd64.tar.gz
|
||||||
sha256sum go1.18.linux-amd64.tar.gz | awk -F " " '{ print $1 }'
|
sha256sum go1.19.7.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
|
||||||
`e85278e98f57cdb150fe8409e6e5df5343ecb13cebf03a5d5ff12bd55a80264f`. If it
|
`7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d`. 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 tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
|
sudo tar -C /usr/local -xzf go1.19.7.linux-amd64.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
@ -118,16 +118,16 @@ the following commands for your OS:
|
||||||
<summary>Linux (ARMv6)</summary>
|
<summary>Linux (ARMv6)</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://dl.google.com/go/go1.18.linux-armv6l.tar.gz
|
wget https://dl.google.com/go/go1.19.7.linux-armv6l.tar.gz
|
||||||
sha256sum go1.18.linux-armv6l.tar.gz | awk -F " " '{ print $1 }'
|
sha256sum go1.19.7.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
|
||||||
`a80fa43d1f4575fb030adbfbaa94acd860c6847820764eecb06c63b7c103612b`. If it
|
`93b1f621ddfc2c2b4e383e185fa7801e80f8b546918cb96afea2723677928312`. 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:
|
||||||
```
|
```
|
||||||
tar -C /usr/local -xzf go1.18.linux-armv6l.tar.gz
|
tar -C /usr/local -xzf go1.19.7.linux-armv6l.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -183,6 +183,6 @@ replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
|
||||||
|
|
||||||
// If you change this please also update .github/pull_request_template.md and
|
// If you change this please also update .github/pull_request_template.md and
|
||||||
// docs/INSTALL.md.
|
// docs/INSTALL.md.
|
||||||
go 1.18
|
go 1.19
|
||||||
|
|
||||||
retract v0.0.2
|
retract v0.0.2
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# /dev.Dockerfile
|
# /dev.Dockerfile
|
||||||
# /.github/workflows/main.yml
|
# /.github/workflows/main.yml
|
||||||
# /.github/workflows/release.yml
|
# /.github/workflows/release.yml
|
||||||
FROM golang:1.19.2-buster
|
FROM golang:1.19.7-buster
|
||||||
|
|
||||||
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue