CI: test with Go 1.14 and 1.15, drop 1.12
The common policy is to support the two latest versions of Go. Do that, since our previous state meant a version of Go that's pretty old and unused at this point. Also simplify the travis yaml. First, GO111MODULE=on hasn't been needed for a while, since it defaults to "on" if go.mod exists. We also don't need redundant steps like "go mod download" or "go build"; "go test" already does all of that for us. The "go fmt" check is also pointless, as it only formats the code without actually complaining if it isn't properly formatted. Finally, update the Go version in go.mod to 1.14, since that's the oldest version we test against and support at this point. This version sets, for example, what language features we can use. And, while at it, "go mod tidy".
Showing
module github.com/ipld/go-ipld-prime | ||
go 1.12 | ||
go 1.14 | ||
require ( | ||
github.com/gxed/hashland/keccakpg v0.0.1 // indirect | ||
github.com/gxed/hashland/murmur3 v0.0.1 // indirect | ||
github.com/ipfs/go-cid v0.0.4 | ||
github.com/minio/sha256-simd v0.1.1 // indirect | ||
github.com/mr-tron/base58 v1.1.3 // indirect | ||
github.com/polydawn/refmt v0.0.0-20190807091052-3d65705ee9f1 | ||
github.com/smartystreets/goconvey v1.6.4 // indirect | ||
github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a | ||
golang.org/x/crypto v0.0.0-20200117160349-530e935923ad // indirect | ||
golang.org/x/sys v0.0.0-20200122134326-e047566fdf82 // indirect | ||
... | ... |
Please register or sign in to comment