You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release version does have lua52 enabled.
What kind of error are you seeing?
You may be experiencing an issue similar to JohnnyMorganz/StyLua#402 where Luau syntax clashes with Lua 5.2 syntax. You can use cargo to build a binary with only lua52 enabled and that should work. Hopefully in the next major release we will have runtime configurable syntax selection.
Unfortunately there is no way right now to use cargo within the stylua action, but doing cargo install stylua --features lua52 and running stylua via normal run steps should be fine
Hi @JohnnyMorganz, My code is currently use label feature of lua, however it is not enabled by default in release version.
Are there anyway for me to enable features like
lua52
when running this action?Thank you for your great Stylua and this github action.
The text was updated successfully, but these errors were encountered: