mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-11-14 22:50:18 +01:00
eff01bc8e7
With luacheck mistakes in Lua code can be found, e.g. the use of undefined variables, and the code style can be checked. workflow by @Panquesito7
16 lines
325 B
YAML
16 lines
325 B
YAML
on: [push, pull_request]
|
|
name: Check
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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 ./
|