2023-09-28 21:57:22 +02:00
|
|
|
name: Luacheck
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
2023-09-29 02:03:51 +02:00
|
|
|
Luacheck:
|
2023-09-28 21:57:22 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-04-17 18:38:05 +02:00
|
|
|
- name: Update repositories
|
|
|
|
run: sudo apt update
|
2024-04-17 18:45:30 +02:00
|
|
|
- name: Install Luacheck
|
2024-12-13 03:28:19 +01:00
|
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
2024-04-17 18:38:05 +02:00
|
|
|
with:
|
|
|
|
packages: lua-check
|
2024-12-13 03:28:19 +01:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
2023-09-28 21:57:22 +02:00
|
|
|
- name: Luacheck linter
|
2024-04-17 19:17:02 +02:00
|
|
|
run: luacheck --config .luacheckrc .
|