chore(pre-commit): use google/yamlfmt
This commit is contained in:
parent
441410ae25
commit
defd6072e1
|
@ -1,9 +1,7 @@
|
||||||
---
|
|
||||||
name: build
|
name: build
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
---
|
|
||||||
name: submodules sync
|
name: submodules sync
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
container:
|
container:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- gosec
|
- gosec
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v5.0.0
|
||||||
|
@ -10,8 +9,8 @@ repos:
|
||||||
rev: 0.2.2
|
rev: 0.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: checkmake
|
- id: checkmake
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
- repo: https://github.com/google/yamlfmt
|
||||||
rev: 0.2.3
|
rev: v0.13.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamlfmt
|
- id: yamlfmt
|
||||||
- repo: https://github.com/dnephin/pre-commit-golang
|
- repo: https://github.com/dnephin/pre-commit-golang
|
||||||
|
|
Loading…
Reference in New Issue
Block a user