David Leal 54cb7449cf
Some checks failed
build / luacheck (push) Has been cancelled
Add LuaCheck in a GitHub workflow
2023-01-30 14:21:43 -08:00

17 lines
385 B
YAML

name: build
on: [push, pull_request]
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Luarocks
run: |
sudo apt-get update -qyy
sudo apt-get install luarocks -qyy
- name: Install Luacheck
run: luarocks install --local luacheck
- name: Run Luacheck
run: $HOME/.luarocks/bin/luacheck .