srctree

Robin Linden parent f937865e a1c23ac8
ci: Make sure shell scripts are formatted w/ shfmt

inlinesplit
.github/workflows/ci.yaml added: 9, removed: 1, total 8
@@ -182,6 +182,14 @@ jobs:
- run: npx prettier --ignore-path .gitignore --write . '!**/*.frag'
- run: git diff --exit-code
 
shfmt:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: pip install shfmt-py==3.4.3.1
- run: shfmt -i 2 -w $(shfmt -f .)
- run: git diff --exit-code
 
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true