Skip to content

Commit

Permalink
refactor: use stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-reineke committed Sep 6, 2021
1 parent 2cea200 commit 9cc73f9
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 297 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: JohnnyMorganz/[email protected]
with:
node-version: '14'
- run: npm install -g lua-fmt
- run: find . -name "*.lua" | xargs -n 1 luafmt -i 4 -w replace
- run: git diff --quiet . || (echo 'luafmt failed' && exit 1)
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .

block-fixup:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 9cc73f9

Please sign in to comment.