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