Skip to content

fixed lua-test-runner error with book-store_spec.lua #269

fixed lua-test-runner error with book-store_spec.lua

fixed lua-test-runner error with book-store_spec.lua #269

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