From 58ac474139ba84e8955b94e9a494f42424bb0b34 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sun, 21 Mar 2021 18:39:27 +0100 Subject: [PATCH] Add a GitHub action to run luacheck I don't know much about github actions, so I hope it works correctly. The yml file is based on https://github.com/ChaosWormz/teleport-request/blob/master/.github/workflows/build.yml --- .github/workflows/luacheck.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/luacheck.yml diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..5290e24 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,11 @@ +on: [push, pull_request] +name: luacheck +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: lint + uses: Roang-zero1/factorio-mod-luacheck@master + with: + luacheckrc_url: ""