mach/dev/ci-lint.sh
Stephen Gutekanst 373c55894f {dev,gpu-dawn}: add yamlfmt to ci-lint.sh
Fixes hexops/mach#430

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-15 04:04:57 -07:00

9 lines
311 B
Bash
Executable file

#!/usr/bin/env bash
set -exuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"/..
# actionlint: https://github.com/rhysd/actionlint
actionlint $(find . | grep -v '\.git/' | grep '\.github/workflows/' | grep '.yml')
# yamlfmt: https://github.com/google/yamlfmt
yamlfmt '**/.github/**/*.yml' '**/.github/**/*.yaml'