aboutsummaryrefslogblamecommitdiff
path: root/.ci/lint.sh
blob: e5363a8341a7d76a61d2dcca69c8393c32afdfde (plain) (tree)
1
2
3
4
5
6
7
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