update luacheck

This commit is contained in:
OgelGames 2021-01-14 14:54:56 +11:00
parent 0b5b18732a
commit 54afc348ee
2 changed files with 2 additions and 13 deletions

View File

@ -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

View File

@ -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"