1
0
mirror of https://github.com/mt-mods/signs_lib.git synced 2025-07-04 00:30:26 +02:00

Add luacheck (#3)

Co-authored-by: syimyuzya <syimyuzya@gmail.com>
This commit is contained in:
OgelGames
2021-12-09 15:46:33 +11:00
committed by GitHub
parent 30d0af57be
commit aa5f865131
5 changed files with 49 additions and 29 deletions

13
.github/workflows/luacheck.yml vendored Normal file
View File

@ -0,0 +1,13 @@
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 ./