update luacheck

This commit is contained in:
OgelGames 2021-01-05 17:40:12 +11:00
parent 97bd66afda
commit b1fd70ea48
3 changed files with 4 additions and 18 deletions

View File

@ -1,12 +1,8 @@
name: luacheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: apt

View File

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

View File

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