diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index fea960c17d..0000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: build -on: [push, pull_request] - -jobs: - luacheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install Luarocks - run: | - sudo apt-get update -qyy - sudo apt-get install luarocks -qyy - - name: Install Luacheck - run: luarocks install --local luacheck - - name: Run Luacheck - run: $HOME/.luarocks/bin/luacheck mods diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000000..7cebcd9f8e --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,10 @@ +name: luacheck +on: [push, pull_request] +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Luacheck + uses: lunarmodules/luacheck@master