diff options
author | aaronbuchwald <[email protected]> | 2020-12-17 17:13:04 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-17 17:13:04 -0500 |
commit | 374b401198759f23bac435a78c5b1fa2c516aad9 (patch) | |
tree | f3d33fa99fc7d46dd2836bef500d8a1cf445e094 /.ci | |
parent | c765f9b5b38d3e4b5f4261d3c4ab776dd9c3c97a (diff) | |
parent | 72f10d245f5514de4f586ca97784d599d00cc8f3 (diff) |
Dev
Diffstat (limited to '.ci')
-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 |