build: update CI+release version to Go 1.25.5
This updates the toolchain which we require to build the LND executable.
This commit is contained in:
12 files changed
+12
-12
No files matched your search
@@ -52,7 +52,7 @@ runs:
|
|||||||
# The key is used to create and later look up the cache. It's made of
|
# The key is used to create and later look up the cache. It's made of
|
||||||
# four parts:
|
# four parts:
|
||||||
# - The base part is made from the OS name, Go version and a
|
# - The base part is made from the OS name, Go version and a
|
||||||
# job-specified key prefix. Example: `linux-go-1.25.3-unit-test-`.
|
# job-specified key prefix. Example: `linux-go-1.25.5-unit-test-`.
|
||||||
# It ensures that a job running on Linux with Go 1.25 only looks for
|
# It ensures that a job running on Linux with Go 1.25 only looks for
|
||||||
# caches from the same environment.
|
# caches from the same environment.
|
||||||
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
|
# - The unique part is the `hashFiles('**/go.sum')`, which calculates a
|
||||||
|
|||||||
@@ -40,7 +40,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.25.3
|
GO_VERSION: 1.25.5
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
static-checks:
|
static-checks:
|
||||||
|
|||||||
@@ -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.25.3
|
GO_VERSION: 1.25.5
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
########################
|
########################
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ version: "2"
|
|||||||
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.25.3"
|
go: "1.25.5"
|
||||||
|
|
||||||
# Abort after 10 minutes.
|
# Abort after 10 minutes.
|
||||||
timeout: 10m
|
timeout: 10m
|
||||||
|
|||||||
+1
-1
@@ -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.25.3-alpine as builder
|
FROM golang:1.25.5-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.
|
||||||
|
|||||||
@@ -32,7 +32,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.25.3
|
GO_VERSION = 1.25.5
|
||||||
|
|
||||||
GOBUILD := $(GOCC) build -v
|
GOBUILD := $(GOCC) build -v
|
||||||
GOINSTALL := $(GOCC) install -v
|
GOINSTALL := $(GOCC) install -v
|
||||||
|
|||||||
+1
-1
@@ -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.25.3-alpine AS builder
|
FROM golang:1.25.5-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.25.3-alpine as builder
|
FROM golang:1.25.5-alpine as builder
|
||||||
|
|
||||||
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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.25.3-bookworm
|
FROM golang:1.25.5-bookworm
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
|
||||||
# golang docker image version used in this script.
|
# golang docker image version used in this script.
|
||||||
GO_IMAGE=docker.io/library/golang:1.25.3-alpine
|
GO_IMAGE=docker.io/library/golang:1.25.5-alpine
|
||||||
|
|
||||||
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
|
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
|
||||||
go list -f '{{.Version}}' -m google.golang.org/protobuf)
|
go list -f '{{.Version}}' -m google.golang.org/protobuf)
|
||||||
|
|||||||
@@ -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.25.3-bookworm
|
FROM golang:1.25.5-bookworm
|
||||||
|
|
||||||
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.25.3
|
FROM golang:1.25.5
|
||||||
|
|
||||||
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