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:
parent
c446face87
commit
18017bce64
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue