chore: patch fix esx_vehicleshop #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 . |