Merge pull request #1621 from xplorfin/go1.15

ci: add go 1.15 to tests
This commit is contained in:
Olaoluwa Osuntokun 2020-10-02 14:52:29 -07:00 committed by GitHub
commit 40ae93587d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 9 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.13, 1.14]
go: [1.14, 1.15]
steps:
- name: Set up Go
uses: actions/setup-go@v2

View file

@ -36,7 +36,7 @@ which are both under active development.
## Requirements
[Go](http://golang.org) 1.12 or newer.
[Go](http://golang.org) 1.14 or newer.
## Installation

2
go.mod
View file

@ -14,4 +14,4 @@ require (
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
)
go 1.12
go 1.14

View file

@ -3,10 +3,7 @@
This package contains the build script that the `btcd` project uses in order to
build binaries for each new release. As of `go1.13`, with some new build flags,
binaries are now reproducible, allowing developers to build the binary on
distinct machines, and end up with a byte-for-byte identical binary. However,
this wasn't _fully_ solved in `go1.13`, as the build system still includes the
directory the binary is built into the binary itself. As a result, our scripts
utilize a work around needed until `go1.13.2`.
distinct machines, and end up with a byte-for-byte identical binary.
Every release should note which Go version was used to build the release, so
that version should be used for verifying the release.
@ -181,4 +178,4 @@ and `go` (matching the same version used in the release):
8. Extract the archive found in the `btcd-<TAG>` directory created by the
release script and recompute the `SHA256` hash of the release binaries (btcd
and btcctl) with `shasum -a 256 <filename>`. These should match __exactly__
as the ones noted above.
as the ones noted above.

View file

@ -39,7 +39,6 @@ cd $MAINDIR
# If BTCDBUILDSYS is set the default list is ignored. Useful to release
# for a subset of systems/architectures.
SYS=${BTCDBUILDSYS:-"
darwin-386
darwin-amd64
dragonfly-amd64
freebsd-386