mirror of
https://github.com/btcsuite/btcd.git
synced 2026-08-13 12:32:51 +02:00
multi: bump Go toolchain to 1.25, build CI with 1.26.3
In this commit, we update every in-tree go.mod to declare go 1.25 and have CI build with 1.26.3 (Dockerfile uses the golang:1.26-alpine base). Docs that mention the minimum required Go version are aligned with the new floor as well. Fixes #2527, which flagged the README.md / go.mod version mismatch (the README claimed 1.22 while the root + v2transport go.mod files already required 1.23.2).
This commit is contained in:
parent
e59dfeb949
commit
1863073cb0
11 changed files with 11 additions and 11 deletions
2
.github/workflows/Dockerfile
vendored
2
.github/workflows/Dockerfile
vendored
|
|
@ -5,7 +5,7 @@
|
|||
###########################
|
||||
# Build binaries stage
|
||||
###########################
|
||||
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS build
|
||||
FROM --platform=$BUILDPLATFORM golang:1.26-alpine AS build
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
# Arguments required to build binaries targetting the correct OS and CPU architectures
|
||||
|
|
|
|||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -6,7 +6,7 @@ env:
|
|||
GOCACHE: /home/runner/work/go/pkg/build
|
||||
GOPATH: /home/runner/work/go
|
||||
GOBIN: /home/runner/work/go/bin
|
||||
GO_VERSION: 1.22.11
|
||||
GO_VERSION: 1.26.3
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ which are both under active development.
|
|||
|
||||
## Requirements
|
||||
|
||||
[Go](http://golang.org) 1.22 or newer.
|
||||
[Go](http://golang.org) 1.25 or newer.
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/btcsuite/btcd/btcec/v2
|
||||
|
||||
go 1.22
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
github.com/btcsuite/btcd/chaincfg/chainhash v1.2.0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/btcsuite/btcd/btcutil
|
||||
|
||||
go 1.23.2
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
github.com/aead/siphash v1.0.1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/btcsuite/btcd/btcutil/psbt
|
||||
|
||||
go 1.23.2
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
github.com/btcsuite/btcd v0.24.2
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
module github.com/btcsuite/btcd/chaincfg/chainhash
|
||||
|
||||
go 1.22
|
||||
go 1.25
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ Rejoice as you will now be listed as a [contributor](https://github.com/btcsuite
|
|||
|
||||
## Contribution Checklist
|
||||
|
||||
- [ ] All changes are Go version 1.22 compliant
|
||||
- [ ] All changes are Go version 1.25 compliant
|
||||
- [ ] The code being submitted is commented according to the
|
||||
[Code Documentation and Commenting](#CodeDocumentation) section
|
||||
- [ ] For new code: Code is accompanied by tests which exercise both
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ details on how to install on the supported operating systems.
|
|||
|
||||
## Requirements
|
||||
|
||||
[Go](http://golang.org) 1.22 or newer.
|
||||
[Go](http://golang.org) 1.25 or newer.
|
||||
|
||||
## GPG Verification Key
|
||||
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -66,6 +66,6 @@ retract (
|
|||
v0.13.0-beta
|
||||
)
|
||||
|
||||
go 1.23.2
|
||||
go 1.25
|
||||
|
||||
replace github.com/btcsuite/btcd/btcutil => ./btcutil
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/btcsuite/btcd/v2transport
|
||||
|
||||
go 1.23.2
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
github.com/btcsuite/btcd/btcec/v2 v2.4.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue