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: jobs:
Syntax-Check: Syntax-Check:
runs-on: minideb runs-on: minideb
name: Install Dependencies steps:
run: install_packages lua5.1 name: Install Dependencies
run: uname -a run: install_packages lua5.1
run: lua --version run: uname -a
name: Perform Check run: lua --version
run: find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p; name: Perform Check
run: find . -type f -name '*.lua' -not -path '*luarocks*' -not -path '*.git/*' -print0 | xargs -0 -n1 -P "$(nproc)" luac -p;
Busted: Busted:
runs-on: minideb runs-on: minideb
name: Install Dependencies steps:
run: install_packages lua5.1 luarocks lua-check name: Install Dependencies
run: uname -a run: install_packages lua5.1 luarocks lua-check
run: lua --version run: uname -a
name: Run Tests run: lua --version
run: ./tests.sh name: Run Tests
run: ./tests.sh