What's Changed
- Added the ability to configure the action to install, but not run, stylua by @ColinKennedy in #58. This can be useful when the
styluais used as part of separate CI scripts.
This can be configured by setting args: false
- 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
# This disables running `stylua`
args: false
# Run stylua independently
- run: |
stylua --versionNew Contributors
- @ColinKennedy made their first contribution in #58
Full Changelog: v4...v4.1.0