pre-commit(go): use golangci-lint for most checks

[skip ci]
This commit is contained in:
surtur 2022-05-28 20:58:56 +02:00
parent 5e6a8f9001
commit 1f62d3dec6
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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