summaryrefslogtreecommitdiff
path: root/.githooks
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-05-14 23:35:29 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-05-14 23:36:01 +0200
commit2f545000acefc74ece1d02d5d1253750170fd44d (patch)
tree653010b98898392e66169d184554021caff060d6 /.githooks
parentb9140ea6e414966e57b48876bfafa4d57a93d630 (diff)
Revive tool
Diffstat (limited to '.githooks')
-rwxr-xr-x.githooks/pre-commit4
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