update luacheck
This commit is contained in:
parent
97bd66afda
commit
b1fd70ea48
4
.github/workflows/luacheck.yml
vendored
4
.github/workflows/luacheck.yml
vendored
@ -1,12 +1,8 @@
|
||||
name: luacheck
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: apt
|
||||
|
14
.luacheckrc
14
.luacheckrc
@ -5,20 +5,10 @@ globals = {
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
-- Stdlib
|
||||
string = {fields = {"split"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- mod deps
|
||||
"technic_cnc", "technic",
|
||||
"loot", "mesecon", "skybox",
|
||||
"xp_redo",
|
||||
|
||||
-- Minetest
|
||||
"minetest",
|
||||
"vector", "ItemStack",
|
||||
"dump", "screwdriver",
|
||||
"vector",
|
||||
|
||||
-- Deps
|
||||
"default", "creative", "locks", "intllib"
|
||||
"creative", "locks", "mesecon",
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# TravelNet
|
||||
|
||||
[![Build status](https://github.com/mt-mods/travelnet/workflows/luacheck/badge.svg)](https://github.com/mt-mods/travelnet/actions?query=workflow%3Aluacheck)
|
||||
[![Integration test status](https://github.com/mt-mods/travelnet/workflows/integration-test/badge.svg)](https://github.com/mt-mods/travelnet/actions?query=workflow%3Aintegration-test)
|
||||
[![luacheck](https://github.com/mt-mods/travelnet/workflows/luacheck/badge.svg)](https://github.com/mt-mods/travelnet/actions?query=workflow%3Aluacheck)
|
||||
[![Integration test](https://github.com/mt-mods/travelnet/workflows/integration-test/badge.svg)](https://github.com/mt-mods/travelnet/actions?query=workflow%3Aintegration-test)
|
||||
|
||||
How this works:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user