diff options
Diffstat (limited to '.ci/lint.sh')
-rwxr-xr-x | .ci/lint.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.ci/lint.sh b/.ci/lint.sh new file mode 100755 index 0000000..e5363a8 --- /dev/null +++ b/.ci/lint.sh @@ -0,0 +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 + +export PATH=$PATH:$(go env GOPATH)/bin + +golangci-lint --version + +golangci-lint run --max-same-issues 0 |