Skip to content

Test with Lua 5.3, 5.4, and 5.5 #532

Test with Lua 5.3, 5.4, and 5.5

Test with Lua 5.3, 5.4, and 5.5 #532

name: Check Formatting
on:
push:
branches:
- main
pull_request:
jobs:
check-formatting:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: leafo/gh-actions-lua@6919171ccf181b826f44b9bca76307b577217377
with:
luaVersion: 5.5
- uses: leafo/gh-actions-luarocks@35d062def313a7699a0d513e996bcf4352f05389
- name: install
run: |
luarocks install --server=https://luarocks.org/dev luaformatter
- name: check-formatting
run: |
bin/format
git diff
git diff-index --quiet HEAD