From c63ff90fa38b2511fc004e17e3e0af04a952a4a3 Mon Sep 17 00:00:00 2001 From: flux <25628292+fluxionary@users.noreply.github.com> Date: Sun, 12 Jun 2022 21:16:20 -0700 Subject: [PATCH] still trying to fix luacheck workflow --- .github/workflows/build.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62f1915..fbb3fb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,21 +7,17 @@ jobs: steps: - uses: actions/checkout@master - - - run: | - sudo apt-get update -qq - sudo apt-get install -qqq luarocks - - name: Install pre-commit - - - name: Install LuaCheck + - name: apt + run: sudo apt-get install -y luarocks + - name: luacheck install run: luarocks install --local luacheck - - name: Run LuaCheck using pre-commit on moreblocks + - name: luacheck moreblocks run: | pre-commit run --all-files - $HOME/.luarocks/bin/luacheck ./moreblocks + $HOME/.luarocks/bin/luacheck -q ./moreblocks - - name: Run LuaCheck using pre-commit on stairsplus + - name: luacheck stairsplus run: | pre-commit run --all-files - $HOME/.luarocks/bin/luacheck ./stairsplus + $HOME/.luarocks/bin/luacheck -q ./stairsplus