Skip to content
Permalink
Browse files

Merge pull request #6137 from cblecker/mvo-golangci-cache

Specify cache for golangci-lint
  • Loading branch information
openshift-merge-robot committed Nov 27, 2019
2 parents 9b79dcf + ab2ba76 commit d317cfaa43b7f8ce58cc5d86de898cc72eed1ddf
@@ -28,7 +28,10 @@ tag_specification:
tests:
- as: verify
commands: |
curl -sfL https://github.com/golangci/golangci-lint/releases/download/v1.21.0/golangci-lint-1.21.0-linux-amd64.tar.gz | tar -C /go/bin -zx --strip-components=1 golangci-lint-1.21.0-linux-amd64/golangci-lint
export GOLANGCI_LINT_VERSION=1.21.0
export GOLANGCI_LINT_CACHE=/tmp/.cache
curl -sfL "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz" | tar -C /go/bin -zx --strip-components=1 "golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64/golangci-lint"
go mod download
make verify
container:
from: src

0 comments on commit d317cfa

Please sign in to comment.
You can’t perform that action at this time.