diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2c34b0..3f0fb50 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,20 +45,13 @@ repos: - repo: https://github.com/dnephin/pre-commit-golang rev: v0.5.0 hooks: - - id: go-fmt - id: go-vet - - id: go-imports + - id: go-unit-tests - id: go-cyclo args: [-over=15] - id: golangci-lint - - id: go-unit-tests - id: go-build - id: go-mod-tidy - - repo: https://github.com/tekwizely/pre-commit-golang - rev: v1.0.0-beta.5 - hooks: - - id: go-revive-mod - - id: go-sec-mod - repo: local hooks: - id: nix-build