From d498484d3f6b4ab1ee57d41498811d1ead3204c3 Mon Sep 17 00:00:00 2001 From: Rodrigo Chiossi Date: Tue, 17 Sep 2019 14:24:34 +0000 Subject: [PATCH] mixer-ci: Use golangci instead of gometalinter gometalinter has been deprecated in favor of golangci. This patch changes the linter used in mixer to the new one. Signed-off-by: Rodrigo Chiossi --- mixer-ci/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mixer-ci/Dockerfile b/mixer-ci/Dockerfile index 6cdfa14..3c1d736 100644 --- a/mixer-ci/Dockerfile +++ b/mixer-ci/Dockerfile @@ -13,6 +13,5 @@ RUN swupd update && \ USER clr RUN git config --global user.email "travis@example.com" && \ git config --global user.name "Travis CI" && \ - go get -u gopkg.in/alecthomas/gometalinter.v2 && \ - gometalinter.v2 --install + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.18.0