GitHub Actions: define steps

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 18:28:13 +01:00
parent 7a77fffbca
commit ce923353f2
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -3,17 +3,19 @@ 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: find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p;
steps:
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
steps:
name: Install Dependencies
run: install_packages lua5.1 luarocks lua-check
run: uname -a
run: lua --version
name: Run Tests
run: ./tests.sh