From c9d44952443b7cccc2b381b131eca8752087d04b Mon Sep 17 00:00:00 2001 From: Claudio Netto Date: Wed, 25 Mar 2020 18:24:00 -0300 Subject: [PATCH] chore(ci): run golangci-lint on v1.23.8 version --- .travis.yml | 4 +++- Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 02666271e..6bc365fda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,9 @@ jobs: env: JOB=test - stage: test script: make lint - env: JOB=lint + env: + - JOB=lint + - GOLANGCI_LINT_VERSION=v1.23.8 - stage: integration script: make test/integration env: diff --git a/Makefile b/Makefile index b60de7841..967e4341d 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ test/integration: ./scripts/localkube-integration.sh lint: - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin $(GOLANGCI_LINT_VERSION) go install ./... golangci-lint run --config ./.golangci.yml ./...