From 7ec209abd9593a46c7cb731c11c68bec7b846ba4 Mon Sep 17 00:00:00 2001 From: David Leal Date: Mon, 11 Sep 2023 19:59:30 -0600 Subject: [PATCH] Use a faster and newer LuaCheck --- .github/workflows/build.yml | 11 ----------- .github/workflows/luacheck.yml | 10 ++++++++++ README.md | 2 +- 3 files changed, 11 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..7cebcd9 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,10 @@ +name: luacheck +on: [push, pull_request] +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Luacheck + uses: lunarmodules/luacheck@master diff --git a/README.md b/README.md index 95c0703..723f1db 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Vehicle Mash [![Build status](https://github.com/minetest-mods/vehicle_mash/workflows/build/badge.svg)](https://github.com/minetest-mods/vehicle_mash/actions) [![ContentDB](https://content.minetest.net/packages/Panquesito7/vehicle_mash/shields/downloads/)](https://content.minetest.net/packages/Panquesito7/vehicle_mash/) +# Vehicle Mash [![LuaCheck status](https://github.com/minetest-mods/vehicle_mash/workflows/luacheck/badge.svg)](https://github.com/minetest-mods/vehicle_mash/actions) [![ContentDB](https://content.minetest.net/packages/Panquesito7/vehicle_mash/shields/downloads/)](https://content.minetest.net/packages/Panquesito7/vehicle_mash/) - Current version: 2.4.0 - By [blert2112](https://github.com/blert2112), and handed over to [Panquesito7](https://github.com/Panquesito7).