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 runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
go: [1.13, 1.14] go: [1.14, 1.15]
steps: steps:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2

View file

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

2
go.mod
View file

@ -14,4 +14,4 @@ require (
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 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 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, 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 binaries are now reproducible, allowing developers to build the binary on
distinct machines, and end up with a byte-for-byte identical binary. However, distinct machines, and end up with a byte-for-byte identical binary.
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`.
Every release should note which Go version was used to build the release, so Every release should note which Go version was used to build the release, so
that version should be used for verifying the release. that version should be used for verifying the release.

View file

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