Skip to content

Add LuaCheck workflow and fix relevant warnings #6

Add LuaCheck workflow and fix relevant warnings

Add LuaCheck workflow and fix relevant warnings #6

Workflow file for this run

name: "Check"
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: apt
run: sudo apt-get update && sudo apt-get install -y luarocks
- name: luacheck install
run: luarocks install --local luacheck
- name: luacheck run
run: ~/.luarocks/bin/luacheck mods