Rarity

Rarity

17M Downloads

Add GitHub Actions workflow to enforce consistent formatting across all files when a PR is updated

rdw-software opened this issue ยท 0 comments

commented

Goals:

  • Before merging in any changes, we want to make sure the formatting is consistent everywhere (see #331)
  • When changes have been made to legacy files, the CI will notify us of the inconsistency, so that it can be fixed separately (if unrelated to the PR)
  • If this requires elaborate setup, like installing luarocks, it could be easier to just do it after running luacheck (for every commit?)

Roadmap:

  • Research what CLI commands need to be run
  • Update the luacheck.yaml workflow OR create a separate luaformat.yaml one (TBD)