chore: update pre-commit hooks
This commit is contained in:
parent
a5a4a649dc
commit
c13b3465c1
|
@ -1,17 +1,21 @@
|
||||||
---
|
---
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
- repo: https://github.com/mrtazz/checkmake.git
|
||||||
|
rev: 0.2.2
|
||||||
|
hooks:
|
||||||
|
- id: checkmake
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||||
rev: 0.2.3
|
rev: 0.2.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamlfmt
|
- id: yamlfmt
|
||||||
- repo: https://github.com/Bahjat/pre-commit-golang
|
- repo: https://github.com/Bahjat/pre-commit-golang
|
||||||
rev: v1.0.2
|
rev: v1.0.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: gofumpt
|
- id: gofumpt
|
||||||
- repo: https://github.com/dnephin/pre-commit-golang
|
- repo: https://github.com/dnephin/pre-commit-golang
|
||||||
|
@ -20,5 +24,14 @@ repos:
|
||||||
- id: go-fmt
|
- id: go-fmt
|
||||||
- id: go-imports
|
- id: go-imports
|
||||||
- id: golangci-lint
|
- id: golangci-lint
|
||||||
- id: go-unit-tests
|
|
||||||
- id: go-mod-tidy
|
- id: go-mod-tidy
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: make-build
|
||||||
|
name: make build
|
||||||
|
entry: make build
|
||||||
|
language: system
|
||||||
|
- id: make-test
|
||||||
|
name: make test
|
||||||
|
entry: make test
|
||||||
|
language: system
|
||||||
|
|
Loading…
Reference in New Issue
Block a user