From a20e85128fee3038397a0a6eb690ec71790dbd2e Mon Sep 17 00:00:00 2001 From: David Leal Date: Wed, 27 Sep 2023 19:01:28 -0600 Subject: [PATCH] Use a faster and newer LuaCheck (#54) --- .github/workflows/build.yml | 11 ----------- .github/workflows/luacheck.yml | 8 ++++++++ README.md | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/luacheck.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 817e409..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,11 +0,0 @@ -on: [push, pull_request] -name: build -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: lint - uses: Roang-zero1/factorio-mod-luacheck@master - with: - luacheckrc_url: "" diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..5447e4a --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,8 @@ +on: [push, pull_request] +name: luacheck +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: lunarmodules/luacheck@master diff --git a/README.md b/README.md index 6fa4235..7de8297 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Teleport Request -[![Build status](https://github.com/ChaosWormz/teleport-request/workflows/build/badge.svg)](https://github.com/ChaosWormz/teleport-request/actions) +[![LuaCheck status](https://github.com/minetest-mods/teleport-request/workflows/luacheck/badge.svg)](https://github.com/minetest-mods/teleport-request/actions) [![License](https://img.shields.io/badge/license-LGPLv2.1%2B-blue.svg)](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) [![ContentDB](https://content.minetest.net/packages/Traxie21/tpr/shields/downloads/)](https://content.minetest.net/packages/Traxie21/tpr/)