From d84fcb09e7293617f866d4bd33f5bcd9f7231569 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Fri, 1 Feb 2019 21:10:32 -0600 Subject: [PATCH] Workaround due to write permission to bin directory Pro tip: If you're gonna curl|bash, at least don't curl|sudo bash. --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 477f7f230..eb47ffcf8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,8 @@ jobs: <<: *defaults steps: - *fast-checkout - - run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.13.2 + - run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.13.2 + - run: sudo cp bin/golangci-lint /usr/local/bin/ - run: make golangci-lint test-build-arm: <<: *defaults