{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:
Stephen Gutekanst 2022-10-15 04:04:57 -07:00
parent a0507bc278
commit 373c55894f
3 changed files with 42 additions and 39 deletions

View file

@ -3,4 +3,7 @@ set -exuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"/..
# 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'