mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-29 19:32:05 +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:
parent
7f505ed136
commit
f3d58ee8ca
1 changed files with 8 additions and 1 deletions
9
.github/workflows/luacheck.yml
vendored
9
.github/workflows/luacheck.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue