add Eclipse's tweak tables to statistics #483
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
name: Format Eclipse Code | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
format_lua: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --config-path ./.github/stylua.toml -g "*.lua" -g "!weapontweakdata.lua" -- lua | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
add: "lua/*" | |
committer_name: GitHub Actions | |
committer_email: actions@github.com | |
message: Code formatting |