{dev,gpu-dawn}: add yamlfmt to ci-lint.sh
Fixes hexops/mach#430 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a0507bc278
commit
373c55894f
3 changed files with 42 additions and 39 deletions
|
|
@ -3,4 +3,7 @@ set -exuo pipefail
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
||||||
|
|
||||||
# actionlint: https://github.com/rhysd/actionlint
|
# actionlint: https://github.com/rhysd/actionlint
|
||||||
./actionlint $(find . | grep -v '\.git/' | grep '\.github/workflows/' | grep '.yml')
|
actionlint $(find . | grep -v '\.git/' | grep '\.github/workflows/' | grep '.yml')
|
||||||
|
|
||||||
|
# yamlfmt: https://github.com/google/yamlfmt
|
||||||
|
yamlfmt '**/.github/**/*.yml' '**/.github/**/*.yaml'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue