From 0893974b054a2191b5e2d5447ee4fc73f9c35f6a Mon Sep 17 00:00:00 2001 From: OgelGames Date: Sun, 28 Nov 2021 16:14:20 +1100 Subject: [PATCH] github luacheck workflow --- .github/workflows/luacheck.yml | 13 +++++++++++++ .gitlab-ci.yml | 8 -------- 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/luacheck.yml delete mode 100644 .gitlab-ci.yml diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..a13efa9 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,13 @@ +name: luacheck +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: apt + run: sudo apt-get install -y luarocks + - name: luacheck install + run: luarocks install --local luacheck + - name: luacheck run + run: $HOME/.luarocks/bin/luacheck ./ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index ff51e7e..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,8 +0,0 @@ -stages: - - test - -luacheck: - stage: test - image: pipelinecomponents/luacheck:latest - script: - - luacheck .