Skip to content

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 01 Apr 12:18
479972f

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 stylua is 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 --version

New Contributors

Full Changelog: v4...v4.1.0