jenkins: update to go1.13 (#2990)
This commit is contained in:
parent
a801fab66a
commit
09447e24c8
@ -1,4 +1,4 @@
|
||||
FROM golang:1.12.9
|
||||
FROM golang:1.13.0
|
||||
|
||||
# Postgres
|
||||
|
||||
@ -27,7 +27,7 @@ RUN unzip /tmp/protoc.zip -d "$HOME"/protoc
|
||||
|
||||
# Linters
|
||||
|
||||
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin v1.17.1
|
||||
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin v1.18.0
|
||||
RUN go get github.com/ckaznocha/protoc-gen-lint
|
||||
RUN go get github.com/nilslice/protolock/cmd/protolock
|
||||
RUN go get github.com/josephspurrier/goversioninfo
|
||||
|
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
||||
GO_VERSION ?= 1.12.9
|
||||
GO_VERSION ?= 1.13.0
|
||||
GOOS ?= linux
|
||||
GOARCH ?= amd64
|
||||
COMPOSE_PROJECT_NAME := ${TAG}-$(shell git rev-parse --abbrev-ref HEAD)
|
||||
@ -45,7 +45,7 @@ build-dev-deps: ## Install dependencies for builds
|
||||
go get github.com/mattn/goveralls
|
||||
go get golang.org/x/tools/cover
|
||||
go get github.com/modocache/gover
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin v1.17.1
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin v1.18.0
|
||||
|
||||
.PHONY: lint
|
||||
lint: check-copyrights ## Analyze and find programs in source code
|
||||
|
Loading…
Reference in New Issue
Block a user