2023-06-11 16:08:55 +02:00
|
|
|
name: "Check"
|
2023-06-09 19:48:46 +02:00
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
2023-06-11 16:08:55 +02:00
|
|
|
name: "Luacheck"
|
2023-06-09 19:48:46 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-06-11 16:08:55 +02:00
|
|
|
- uses: actions/checkout@v3
|
2023-06-09 19:48:46 +02:00
|
|
|
- name: apt
|
|
|
|
run: sudo apt-get install -y luarocks
|
|
|
|
- name: luacheck install
|
|
|
|
run: luarocks install --local luacheck
|
|
|
|
- name: luacheck run
|
|
|
|
run: $HOME/.luarocks/bin/luacheck ./
|