lint.sh 248 B

123456789101112
  1. #!/bin/sh
  2. # Run the configured linters.
  3. #
  4. # These checks will run when a PR is opened and new commits are pushed, but it
  5. # can also be run locally.
  6. set -o errexit
  7. set -o xtrace
  8. go vet ./...
  9. go run honnef.co/go/tools/cmd/staticcheck@latest ./...