add luacheck workflow

This commit is contained in:
OgelGames 2023-08-12 22:42:45 +10:00
parent 287bc24e78
commit 36bfa2cf27
2 changed files with 17 additions and 0 deletions

10
.github/workflows/luacheck.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: luacheck
on: [push, pull_request]
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Luacheck
uses: lunarmodules/luacheck@master

7
.luacheckrc Normal file
View File

@ -0,0 +1,7 @@
read_globals = {
"minetest",
"ItemStack",
"vector",
"unified_inventory",
}