moreblocks/.github/workflows/build.yml

23 lines
484 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
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
- name: Run pre-commit
run: pre-commit run --all-files