mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 06:50:18 +01:00
24 lines
558 B
YAML
24 lines
558 B
YAML
name: build
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: apt
|
|
run: sudo apt-get install -y luarocks
|
|
- name: luacheck install
|
|
run: luarocks install --local luacheck
|
|
|
|
- name: luacheck moreblocks
|
|
run: |
|
|
pre-commit run --all-files
|
|
$HOME/.luarocks/bin/luacheck -q ./moreblocks
|
|
|
|
- name: luacheck stairsplus
|
|
run: |
|
|
pre-commit run --all-files
|
|
$HOME/.luarocks/bin/luacheck -q ./stairsplus
|