chore: update pre-commit hooks
All checks were successful
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Successful in 1m14s

This commit is contained in:
张泊明518370910136 2024-09-30 00:55:17 -04:00
parent a5a4a649dc
commit c13b3465c1
GPG Key ID: D47306D7062CDA9D

View File

@ -1,17 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- 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
rev: 0.2.3
hooks:
- id: yamlfmt
- repo: https://github.com/Bahjat/pre-commit-golang
rev: v1.0.2
rev: v1.0.3
hooks:
- id: gofumpt
- repo: https://github.com/dnephin/pre-commit-golang
@ -20,5 +24,14 @@ repos:
- id: go-fmt
- id: go-imports
- id: golangci-lint
- id: go-unit-tests
- 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