update ci to use go 1.13, switch to golangci-lint

This commit is contained in:
Elliot
2019-10-31 08:21:19 +11:00
committed by Mike Farah
parent d1cec1ad18
commit d05391e244
8 changed files with 18 additions and 40 deletions
+1 -5
View File
@@ -1,4 +1,4 @@
FROM golang:1.11 as builder
FROM golang:1.13 as builder
WORKDIR /go/src/mikefarah/yq
@@ -6,10 +6,6 @@ WORKDIR /go/src/mikefarah/yq
COPY ./scripts/devtools.sh /go/src/mikefarah/yq/scripts/devtools.sh
RUN ./scripts/devtools.sh
# cache vendor
COPY ./vendor/vendor.json /go/src/mikefarah/yq/vendor/vendor.json
RUN govendor sync
COPY . /go/src/mikefarah/yq
RUN CGO_ENABLED=0 make local build