.github/workflows/scripts/deps.sh
raw| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | set -euo pipefail |
| 4 | |
| 5 | (which golangci-lint > /dev/null) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | |
| 6 | bash -s -- -b "$(go env GOPATH)"/bin v2.1.6 |
| 7 | |
| 8 | go install github.com/daixiang0/gci@latest |
| 9 | GO111MODULE=on go install mvdan.cc/gofumpt@latest |
| 10 | |
| 11 | go mod download |