mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-14 22:40:19 +01:00
25 lines
706 B
YAML
25 lines
706 B
YAML
name: build
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: install luarocks
|
|
run: sudo apt-get install -y luarocks
|
|
|
|
- name: install luacheck via luarocks
|
|
run: luarocks install --local luacheck
|
|
|
|
- name: luacheck moreblocks
|
|
run: $HOME/.luarocks/bin/luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
|
|
|
|
- name: luacheck stairsplus
|
|
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|
|
|
|
- name: luacheck stairsplus_legacy
|
|
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy
|