diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-05-14 23:17:03 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-05-14 23:17:03 +0200 |
| commit | b9140ea6e414966e57b48876bfafa4d57a93d630 (patch) | |
| tree | ab68155394f042bae1c08deea1db1f1b17f916e7 /.githooks | |
| parent | 3ac4cdc25a617fdb5e666fa0ac0afdc48104936b (diff) | |
Use new go toolv0.6.1
Diffstat (limited to '.githooks')
| -rwxr-xr-x | .githooks/pre-commit | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.githooks/pre-commit b/.githooks/pre-commit index bc1ff56..f63ef4a 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -3,11 +3,11 @@ set -ev gofmt -d -e -s . go vet ./... -go run github.com/martinlehoux/kagamigo/cmd/cvet ./... -go run honnef.co/go/tools/cmd/staticcheck ./... -go run github.com/securego/gosec/v2/cmd/gosec -quiet ./... -go run github.com/fzipp/gocyclo/cmd/gocyclo -over 10 -ignore '.*_templ\.go' . -go run github.com/golangci/golangci-lint/cmd/golangci-lint run -go run golang.org/x/vuln/cmd/govulncheck ./... +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 mod tidy |
