Merge pull request #7019 from guggero/golang-1-19-2

build: bump Golang version to v1.19.2
This commit is contained in:
Oliver Gugger 2022-10-11 13:35:50 +02:00 committed by GitHub
commit ff35647db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 14 additions and 10 deletions

View File

@ -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.0 GO_VERSION: 1.19.2
jobs: jobs:
######################## ########################

View File

@ -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.0 GO_VERSION: 1.19.2
jobs: jobs:
main: main:

View File

@ -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" - "1.19.2"
env: env:
global: global:

View File

@ -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-alpine as builder FROM golang:1.19.2-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.

View File

@ -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-alpine as builder FROM golang:1.19.2-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>" LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@ -1,4 +1,4 @@
FROM golang:1.19-alpine as builder FROM golang:1.19.2-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>" LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@ -1,4 +1,4 @@
FROM golang:1.19-alpine as builder FROM golang:1.19.2-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>" LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@ -43,6 +43,10 @@ transaction](https://github.com/lightningnetwork/lnd/pull/6730).
1.19](https://github.com/lightningnetwork/lnd/pull/6795)! Go 1.18 is now the 1.19](https://github.com/lightningnetwork/lnd/pull/6795)! Go 1.18 is now the
minimum version needed to build the project. minimum version needed to build the project.
[The minimum recommended version of the Go 1.19.x series is 1.19.2 because
1.19.1 contained a bug that affected lnd and resulted in a
crash](https://github.com/lightningnetwork/lnd/pull/7019).
## Misc ## Misc
* [Fixed a bug where the Switch did not reforward settles or fails for * [Fixed a bug where the Switch did not reforward settles or fails for

View File

@ -1,4 +1,4 @@
FROM golang:1.19-buster FROM golang:1.19.2-buster
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git \ git \

View File

@ -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-buster FROM golang:1.19.2-buster
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering> MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>

View File

@ -1,4 +1,4 @@
FROM golang:1.19-buster FROM golang:1.19.2-buster
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