Skip to content

Commit

Permalink
GH Action for stylua check
Browse files Browse the repository at this point in the history
  • Loading branch information
zschreur committed Apr 28, 2024
1 parent 69e501a commit c33a20c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lua Format Check
on: [push]
jobs:
lua-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --check .

0 comments on commit c33a20c

Please sign in to comment.