GitHub Actions: define steps

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 18:28:13 +01:00
parent 7a77fffbca
commit ce923353f2
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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