7 PATH=$HOME/go/bin:$PATH
11 if test $# -ne 0; then
15 # Run additional tests in CI
19 # shellcheck disable=SC2086
21 # shellcheck disable=SC2086
29 # shellcheck disable=SC2086
31 # shellcheck disable=SC2086
34 # Additional static checks only run in CI
35 go install honnef.co/go/tools/cmd/staticcheck@v0.3.3
37 go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3
40 test -z "$(git clean -nd)" # any untracked files left?
42 test -z "$(git clean -ndx)" # any unignored files left?