diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e47d98b..dc3e32d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,16 +1,17 @@ -- repo: https://github.com/dnephin/pre-commit-golang - rev: master - hooks: - - id: go-fmt - - id: go-vet - - id: go-lint - - id: go-imports - - id: go-cyclo - args: [-over=15] - - id: validate-toml - - id: no-go-testing - - id: golangci-lint - - id: go-critic - - id: go-unit-tests - - id: go-build - - id: go-mod-tidy \ No newline at end of file +repos: + - repo: https://github.com/dnephin/pre-commit-golang + rev: v0.5.1 + hooks: + - id: go-fmt + - id: go-vet + - id: go-lint + - id: go-imports + - id: go-cyclo + args: [-over=15] + - id: validate-toml + - id: no-go-testing + - id: golangci-lint + - id: go-critic + - id: go-unit-tests + - id: go-build + - id: go-mod-tidy