github.com/tommi2day/pwcli@v0.0.0-20240317203041-4d1177a5ab91/lintGo.sh (about) 1 #!/bin/bash 2 if golangci-lint \ 3 run ./... \ 4 --timeout=5m \ 5 --out-format colored-line-number \ 6 --skip-dirs-use-default; then 7 echo "OK" 8 else 9 echo "FAILED" 10 fi 11