Skip to content

chore: improve formatting + code cleanup #873

chore: improve formatting + code cleanup

chore: improve formatting + code cleanup #873

# Check Lua Formatting
name: Check Lua Formatting
on:
push:
branches: [ main, dev ]
pull_request:
types: [ labeled ]
jobs:
stylua-check:
name: Stylua Check
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'format_all') }}
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.18.0
# CLI arguments
args: --check .