forked from mtcontrib/hangglider
update luacheck
This commit is contained in:
parent
0b5b18732a
commit
54afc348ee
7
.github/workflows/luacheck.yml
vendored
7
.github/workflows/luacheck.yml
vendored
@ -1,15 +1,10 @@
|
|||||||
name: luacheck
|
name: luacheck
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@master
|
||||||
- name: apt
|
- name: apt
|
||||||
run: sudo apt-get install -y luarocks
|
run: sudo apt-get install -y luarocks
|
||||||
- name: luacheck install
|
- name: luacheck install
|
||||||
|
@ -4,17 +4,11 @@ globals = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
-- Stdlib
|
|
||||||
string = {fields = {"split", "trim"}},
|
|
||||||
table = {fields = {"copy", "getn"}},
|
|
||||||
|
|
||||||
-- Minetest
|
-- Minetest
|
||||||
"minetest",
|
"minetest",
|
||||||
"vector", "ItemStack",
|
"vector", "ItemStack",
|
||||||
"dump", "dump2",
|
|
||||||
"VoxelArea",
|
|
||||||
|
|
||||||
-- deps
|
-- Mod deps
|
||||||
"wardzones",
|
"wardzones",
|
||||||
"minetestd",
|
"minetestd",
|
||||||
"player_monoids"
|
"player_monoids"
|
||||||
|
Loading…
Reference in New Issue
Block a user