diff options
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/lint.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.ci/lint.sh b/.ci/lint.sh index cde7292..e5363a8 100755 --- a/.ci/lint.sh +++ b/.ci/lint.sh @@ -1,12 +1,8 @@ # binary will be $(go env GOPATH)/bin/golangci-lint curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0 -# or install it into ./bin/ -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.30.0 -# In alpine linux (as it does not come with curl by default) -wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.30.0 export PATH=$PATH:$(go env GOPATH)/bin golangci-lint --version -golangci-lint run --max-same-issues 0
\ No newline at end of file +golangci-lint run --max-same-issues 0 |