github.com/tommi2day/gomodules@v1.13.2-0.20240423190010-b7d55d252a27/lintGo.sh (about) 1 #!/bin/bash 2 if golangci-lint \ 3 run ./... \ 4 --timeout=5m \ 5 --out-format colored-line-number \ 6 --exclude-dirs-use-default; then 7 echo "OK" 8 else 9 echo "FAIL" 10 fi 11