You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
StyLua
1.0.0
GitHub Action to run StyLua, a Lua code formatter.
Installs the StyLua binary (from GitHub releases), and caches it. Any StyLua command can then be run.
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
args: --check .
GitHub token. Required since the binary is downloaded from GitHub releases (to speed download)
The arguments to pass to the StyLua binary
The version of StyLua to use. If not specified, installs the latest release.
Based off https://github.com/Roblox/setup-foreman, licensed under MIT