moreblocks/.github/workflows/build.yml

35 lines
1003 B
YAML
Raw Normal View History

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- 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
run: sudo apt-get install -qq luarocks
2022-06-13 06:21:04 +02:00
- name: install luacheck via luarocks
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
- name: luacheck stairsplus
2022-06-13 06:21:04 +02:00
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
- name: luacheck stairsplus_legacy
2022-06-16 01:23:24 +02:00
run: $HOME/.luarocks/bin/luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy