moreblocks/.github/workflows/build.yml

22 lines
600 B
YAML
Raw Normal View History

name: build
2022-06-12 03:17:41 +02:00
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
2022-06-13 06:21:04 +02:00
- name: install luarocks
2022-06-13 06:16:20 +02:00
run: sudo apt-get install -y luarocks
2022-06-13 06:21:04 +02:00
- name: install luacheck via luarocks
run: luarocks install --local luacheck
2022-06-13 06:16:20 +02:00
- name: luacheck moreblocks
2022-06-13 06:21:04 +02:00
run: $HOME/.luarocks/bin/luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
2022-06-13 06:17:37 +02:00
- name: luacheck stairsplus (expected to fail until more work is done)
2022-06-13 06:21:04 +02:00
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus