mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
GitHub Actions: define steps
This commit is contained in:
parent
7a77fffbca
commit
ce923353f2
1 changed files with 14 additions and 12 deletions
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue