mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 06:50:18 +01:00
22 lines
600 B
YAML
22 lines
600 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 (expected to fail until more work is done)
|
|
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|