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