From baf8a5e02d7cb92b90ad53a54b4cca74a200d13f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 30 Jul 2021 18:22:51 +0100 Subject: [PATCH] GitHub Actions: fix --- .github/workflows/main.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f7e717..194dd03 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,19 +1,19 @@ name: "WorldEditAdditions Continuous Integration" on: [push] jobs: - Syntax-Check: - runs-on: minideb - name: Install Dependencies - run: install_packages lua5.1 - run: uname -a - run: lua --version - name: Perform Check - run: - Busted: - runs-on: minideb - - name: Install Dependencies - run: install_packages lua5.1 luarocks lua-check - run: uname -a - run: lua --version - - name: Run Tests - run: ./tests.sh + Syntax-Check: + runs-on: minideb + name: Install Dependencies + run: install_packages lua5.1 + run: uname -a + run: lua --version + name: Perform Check + run: find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p; + Busted: + runs-on: minideb + - name: Install Dependencies + run: install_packages lua5.1 luarocks lua-check + run: uname -a + run: lua --version + - name: Run Tests + run: ./tests.sh