@@ -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