From 54afc348ee67f767c1b48d957729da599462373d Mon Sep 17 00:00:00 2001 From: OgelGames Date: Thu, 14 Jan 2021 14:54:56 +1100 Subject: [PATCH] update luacheck --- .github/workflows/luacheck.yml | 7 +------ .luacheckrc | 8 +------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 490a231..a13efa9 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -1,15 +1,10 @@ name: luacheck - on: [push, pull_request] - jobs: build: - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@master - name: apt run: sudo apt-get install -y luarocks - name: luacheck install diff --git a/.luacheckrc b/.luacheckrc index aff365e..3d32357 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -4,17 +4,11 @@ globals = { } read_globals = { - -- Stdlib - string = {fields = {"split", "trim"}}, - table = {fields = {"copy", "getn"}}, - -- Minetest "minetest", "vector", "ItemStack", - "dump", "dump2", - "VoxelArea", - -- deps + -- Mod deps "wardzones", "minetestd", "player_monoids"