Skip to content

Bump actions/checkout from 4.2.0 to 4.2.2 #304

Bump actions/checkout from 4.2.0 to 4.2.2

Bump actions/checkout from 4.2.0 to 4.2.2 #304

name: Check Formatting
on:
push:
branches:
- main
pull_request:
jobs:
check-formatting:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- 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