1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 12:27:50 +01:00

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
This commit is contained in:
Jiří Štefka 2024-04-17 18:15:20 +02:00
parent 7f505ed136
commit f3d58ee8ca
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -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