Update to go1.14 and golangci-lint 1.23.7 (#1020)

This commit is contained in:
Wim 2020-03-01 21:50:21 +01:00 committed by GitHub
parent d893421c7b
commit 3ac2ba8d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -20,22 +20,22 @@ jobs:
- stage: lint - stage: lint
# Run linting in one Go environment only. # Run linting in one Go environment only.
script: ./ci/lint.sh script: ./ci/lint.sh
go: 1.13.x go: 1.14.x
env: env:
- GO111MODULE=on - GO111MODULE=on
- GOLANGCI_VERSION="v1.21.0" - GOLANGCI_VERSION="v1.23.7"
- stage: test - stage: test
# Run tests in a combination of Go environments. # Run tests in a combination of Go environments.
script: ./ci/test.sh script: ./ci/test.sh
go: 1.12.x go: 1.13.x
env: env:
- GO111MODULE=off - GOFLAGS=-mod=vendor
- script: ./ci/test.sh - script: ./ci/test.sh
go: 1.12.x go: 1.13.x
env: env:
- GO111MODULE=on - GO111MODULE=on
- script: ./ci/test.sh - script: ./ci/test.sh
go: 1.13.x go: 1.14.x
env: env:
- GO111MODULE=on - GO111MODULE=on
- REPORT_COVERAGE=1 - REPORT_COVERAGE=1

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -u -e -x -o pipefail set -u -e -x -o pipefail
go version | grep go1.13 || exit go version | grep go1.14 || exit
VERSION=$(git describe --tags) VERSION=$(git describe --tags)
mkdir ci/binaries mkdir ci/binaries