Overhaul tidy check

This commit is contained in:
Taiki Endo
2022-12-02 03:19:40 +09:00
parent 96c3fd376d
commit d0f28d3db6
3 changed files with 90 additions and 22 deletions

View File

@@ -53,12 +53,5 @@ jobs:
persist-credentials: false
- uses: taiki-e/install-action@shellcheck
- uses: taiki-e/install-action@shfmt
- run: npm install prettier
- run: shfmt -d $(git ls-files '*.sh')
if: always()
- run: npx prettier -c $(git ls-files '*.yml')
if: always()
- run: npx prettier -c $(git ls-files '*.js')
if: always()
- run: shellcheck $(git ls-files '*.sh')
- run: tools/tidy.sh
if: always()