1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00
presence.nvim/.github/workflows/luacheck.yml
Jiří Štefka 28bf1bad66
All checks were successful
Luacheck / Luacheck (push) Successful in 12s
StyLua / StyLuacheck (push) Successful in 15s
fix(ci/cd): Bad job name (#48)
* feat(ci/cd): Make workflows compatible with medium act images
for reference: https://nektosact.com/usage/runners.html

[#69] Make workflow compatible with medium act images
https://openproject.stefka.eu/work_packages/69

* fix(ci/cd): use sudo to install cargo

* 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

* feat(ci/cd): Cache apt install cargo

* fix(ci/cd): remove unnecessary comments

* fix(ci/cd): Bad job name
2024-04-17 18:45:30 +02:00

16 lines
418 B
YAML

name: Luacheck
on: [push, pull_request]
jobs:
Luacheck:
runs-on: ubuntu-latest
steps:
- name: Update repositories
run: sudo apt update
- name: Install Luacheck
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: lua-check
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
run: luacheck --config .luacheckrc .