mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-11-23 20:37:50 +01:00
jiriks74
f3d58ee8ca
Install luacheck using apt and cache the install [#69] Make workflow compatible with medium act images https://openproject.stefka.eu/work_packages/69
18 lines
460 B
YAML
18 lines
460 B
YAML
name: Luacheck
|
|
on: [push, pull_request]
|
|
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
|
|
run: luacheck --config .luacheckrc .
|
|
# uses: lunarmodules/luacheck@v1
|