From 7f86747ece039b7ac7177249a6d0434fc70a55dd Mon Sep 17 00:00:00 2001 From: David Leal Date: Wed, 12 Feb 2020 21:39:41 -0600 Subject: [PATCH] Minor luacheck fixes (#1) --- .github/workflows/check-release.yml | 11 +++++++++++ .luacheckrc | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/check-release.yml diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml new file mode 100644 index 0000000..3a1a112 --- /dev/null +++ b/.github/workflows/check-release.yml @@ -0,0 +1,11 @@ +on: [push, pull_request] +name: Check & Release +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: lint + uses: Roang-zero1/factorio-mod-luacheck@master + with: + luacheckrc_url: https://raw.githubusercontent.com/BlockySurvival/irc2/master/.luacheckrc diff --git a/.luacheckrc b/.luacheckrc index 7453628..8a401f7 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,7 +2,8 @@ allow_defined_top = true read_globals = { - "minetest", + "minetest", "core", + "cloaking", } exclude_files = {