From a7b9f888cd72dfa875e3b7cc3b88be632f567d79 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 24 Mar 2022 15:21:29 +0300 Subject: chore(ci) Utilize new upstream Luacheck Action (#425) --- .github/workflows/luacheck.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 20b706c..2f20456 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -3,21 +3,11 @@ name: Luacheck on: [push, pull_request] jobs: - luacheck: - runs-on: ubuntu-latest + luacheck: + runs-on: ubuntu-20.04 steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup Lua - uses: leafo/gh-actions-lua@v8 - with: - luaVersion: 5.4 - - name: Setup Lua Rocks - uses: leafo/gh-actions-luarocks@v4 - - name: Setup dependencies - run: luarocks install luacheck - - name: Run Code Linter - run: | - luacheck . - luarocks lint *.rockspec + - name: Checkout + uses: actions/checkout@v3 + - name: Luacheck + uses: lunarmodules/luacheck@v0 -- cgit v1.2.3