1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-10 00:09:06 +01:00

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-yaml
- id: check-added-large-files - id: check-added-large-files
- repo: https://github.com/mfocko/pre-commit-hooks - repo: https://github.com/mfocko/pre-commit-hooks
rev: 1.0.0 rev: 1.1.0
hooks: hooks:
- id: rust-fmt - id: rust-fmt
files: \.rs$ files: \.rs$
- id: clang-format - id: clang-format
files: \.cpp$ files: \.cpp$
- id: gofmt
files: \.go$
- repo: https://github.com/commitizen-tools/commitizen - repo: https://github.com/commitizen-tools/commitizen
rev: v3.15.0 rev: v3.15.0
hooks: hooks: