mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 01:51:13 +08:00
update ci to use go 1.13, switch to golangci-lint
This commit is contained in:
+1
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user