ci(go): bump the pre-commit and add ‹gofmt›

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-02-26 16:37:43 +01:00
parent c446face87
commit 18017bce64
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -9,12 +9,14 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/mfocko/pre-commit-hooks
rev: 1.0.0
rev: 1.1.0
hooks:
- id: rust-fmt
files: \.rs$
- id: clang-format
files: \.cpp$
- id: gofmt
files: \.go$
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.15.0
hooks: