mirror of
https://github.com/mt-mods/spacesuit.git
synced 2026-05-04 05:46:52 -06:00
update luacheck worlkflow and add badge
This commit is contained in:
Vendored
+2
-6
@@ -1,14 +1,10 @@
|
|||||||
name: luacheck
|
name: luacheck
|
||||||
|
on: [push, pull_request]
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
+1
-11
@@ -1,22 +1,12 @@
|
|||||||
unused_args = false
|
|
||||||
allow_defined_top = true
|
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
"spacesuit",
|
"spacesuit",
|
||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
-- Stdlib
|
|
||||||
string = {fields = {"split"}},
|
|
||||||
table = {fields = {"copy", "getn"}},
|
|
||||||
"call",
|
|
||||||
|
|
||||||
-- Minetest
|
-- Minetest
|
||||||
"minetest",
|
"minetest",
|
||||||
"vector", "ItemStack",
|
|
||||||
"dump", "VoxelArea",
|
|
||||||
|
|
||||||
-- Deps
|
-- Deps
|
||||||
"unified_inventory", "default", "monitoring",
|
"armor",
|
||||||
"armor"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user