mirror of
https://github.com/minetest-mods/digtron.git
synced 2024-12-22 20:32:22 +01:00
3e1c1ca208
* add luacheck and ci workflow * fix another bunch * more fixes * more fixes * regex magic * add deps * doc.lua special rules * more regex magic * final fixes --------- Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
18 lines
335 B
YAML
18 lines
335 B
YAML
name: luacheck
|
|
|
|
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 run
|
|
run: $HOME/.luarocks/bin/luacheck ./
|