2020-10-02 11:21:10 +02:00
|
|
|
name: build
|
2022-07-22 20:35:01 +02:00
|
|
|
on: [push, pull_request]
|
2020-10-02 11:21:10 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
2022-07-22 20:35:01 +02:00
|
|
|
- uses: actions/setup-python@master
|
|
|
|
|
|
|
|
- name: Install pre-commit
|
|
|
|
run: pip3 install pre-commit
|
|
|
|
|
|
|
|
- name: Run pre-commit
|
|
|
|
run: pre-commit run --all-files
|
2022-06-13 06:21:04 +02:00
|
|
|
|
|
|
|
- name: install luarocks
|
2022-07-22 20:35:01 +02:00
|
|
|
run: sudo apt-get install -qq luarocks
|
2022-06-13 06:21:04 +02:00
|
|
|
|
|
|
|
- name: install luacheck via luarocks
|
2020-10-02 11:21:10 +02:00
|
|
|
run: luarocks install --local luacheck
|
|
|
|
|
2022-06-20 02:08:21 +02:00
|
|
|
- name: luacheck invsaw
|
|
|
|
run: $HOME/.luarocks/bin/luacheck --config ./invsaw/.luacheckrc -q ./invsaw
|
|
|
|
|
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-12 03:49:53 +02:00
|
|
|
|
2022-06-16 01:18:11 +02:00
|
|
|
- name: luacheck stairsplus
|
2022-06-13 06:21:04 +02:00
|
|
|
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|
2022-06-16 01:18:11 +02:00
|
|
|
|
|
|
|
- name: luacheck stairsplus_legacy
|
2022-06-16 01:23:24 +02:00
|
|
|
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy
|