From f3d58ee8cae29307a5fac00940824ed40dbe68af Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Wed, 17 Apr 2024 18:15:20 +0200 Subject: [PATCH] fix(ci/cd): Luacheck failing install on Gitea Install luacheck using apt and cache the install [#69] Make workflow compatible with medium act images https://openproject.stefka.eu/work_packages/69 --- .github/workflows/luacheck.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 87145d9..07de807 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -4,7 +4,14 @@ jobs: Luacheck: runs-on: ubuntu-latest steps: + - name: Update repositories + run: sudo apt update + - name: Install luarocks + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: lua-check - name: Checkout uses: actions/checkout@v3 - name: Luacheck linter - uses: lunarmodules/luacheck@v1 + run: luacheck --config .luacheckrc . + # uses: lunarmodules/luacheck@v1