Commit 4ebd6009 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Bump gopls and golangci-lint

parent 87285501
...@@ -26,11 +26,11 @@ RUN if [ "$(go env GOARCH)" = "arm64" ]; then ...@@ -26,11 +26,11 @@ RUN if [ "$(go env GOARCH)" = "arm64" ]; then
mv trivy /usr/local/bin; \ mv trivy /usr/local/bin; \
fi fi
# this works for both go 1.15 and 1.16 # this works for both go 1.15 and 1.16
RUN GO111MODULE=on GOPROXY=direct go get golang.org/x/tools/cmd/goimports@gopls/v0.6.9 RUN GO111MODULE=on GOPROXY=direct go get golang.org/x/tools/cmd/goimports@gopls/v0.7.0
RUN rm -rf /go/src /go/pkg RUN rm -rf /go/src /go/pkg
RUN if [ "$(go env GOARCH)" = "amd64" ]; then \ RUN if [ "$(go env GOARCH)" = "amd64" ]; then \
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.40.0; \ curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.41.1; \
fi fi
ENV YQ_URL=https://github.com/mikefarah/yq/releases/download/v4.6.2/yq_linux ENV YQ_URL=https://github.com/mikefarah/yq/releases/download/v4.6.2/yq_linux
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment