1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

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

This commit is contained in:
Elliot
2019-10-30 08:19:17 +11:00
committed by Mike Farah
parent d1cec1ad18
commit d05391e244
8 changed files with 18 additions and 40 deletions

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