2020-10-02 11:21:10 +02:00
|
|
|
name: build
|
2022-06-12 03:17:41 +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-06-13 06:16:20 +02:00
|
|
|
- name: apt
|
|
|
|
run: sudo apt-get install -y luarocks
|
|
|
|
- name: luacheck install
|
2020-10-02 11:21:10 +02:00
|
|
|
run: luarocks install --local luacheck
|
|
|
|
|
2022-06-13 06:16:20 +02:00
|
|
|
- name: luacheck moreblocks
|
2020-10-02 11:21:10 +02:00
|
|
|
run: |
|
2022-06-12 03:17:41 +02:00
|
|
|
pre-commit run --all-files
|
2022-06-13 06:16:20 +02:00
|
|
|
$HOME/.luarocks/bin/luacheck -q ./moreblocks
|
2022-06-12 03:49:53 +02:00
|
|
|
|
2022-06-13 06:16:20 +02:00
|
|
|
- name: luacheck stairsplus
|
2022-06-12 03:49:53 +02:00
|
|
|
run: |
|
|
|
|
pre-commit run --all-files
|
2022-06-13 06:16:20 +02:00
|
|
|
$HOME/.luarocks/bin/luacheck -q ./stairsplus
|