Skip to content

Releases: JohnnyMorganz/stylua-action

v5.0.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 06 Apr 15:06
76fd70c

Breaking Changes

New Contributors

Full Changelog: v4.1.0...v5.0.0

v4.1.0

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

v4.0.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 10 Feb 10:20
b666182

Breaking Changes

New Contributors

Full Changelog: v3.0.0...v4.0.0

v3.0.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 01 May 23:10

Breaking Changes

  • The breaking change to version in v2.0.0 did not actually propagate to the extension code. This has been fixed.
    As a reminder, version is now a required input. To get v1 behaviour, supply version: latest
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v2
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    version: latest
    # CLI arguments
    args: --check .

Changes

  • version now properly supports semver version specifiers such as ^0.17.1 and ranges >=0.15.0 <0.17.0 (thanks, @rcloran!)

v2.0.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 03 Dec 17:40

Breaking Changes

  • Upgrade to use Node v16
  • version is now a required input. To get v1 behaviour, supply version: latest
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v2
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    version: latest
    # CLI arguments
    args: --check .

NOTE: using latest may cause the action to fail if StyLua updates and the formatting changes!

Changes

  • No longer provide a warning when no version is provided / version is "latest"

v1.1.2

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 22 Sep 14:54

Fixed

  • Fixed legacy artifact names no longer working when pinned to version <= 0.14.3

v1.1.1

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 21 Sep 19:57

Fixed

  • Fixed incorrect artifact chosen due to the introduction of linux-aarch64 artifacts, causing ELF not found errors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 12 Sep 18:17
  • Support downloading artifacts with 'windows' in the name
  • Allow specifying version as 'latest' explicitly (which is currently the default)
  • Warn when version is not explicitly specified. This may soon become a hard error

Full Changelog: 1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@JohnnyMorganz JohnnyMorganz released this 11 May 21:43

Initial release