diff options
Diffstat (limited to '.githooks/pre-commit')
| -rwxr-xr-x | .githooks/pre-commit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.githooks/pre-commit b/.githooks/pre-commit index f63ef4a..fee14e8 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -4,10 +4,10 @@ set -ev gofmt -d -e -s . go vet ./... go tool cvet ./... -go tool staticcheck ./... go tool gosec -quiet ./... go tool gocyclo -over 10 -ignore '.*_templ\.go' . go tool golangci-lint run go tool govulncheck ./... -go test ./... +go tool revive +go test -race ./... go mod tidy |
