aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/luacheck.yml
diff options
context:
space:
mode:
authorBeha <shacknetisp@mail.com>2020-04-02 00:13:33 -0400
committerGitHub <noreply@github.com>2020-04-02 00:13:33 -0400
commit4924457eac47fc3a1c6c47834ed064b1b2089923 (patch)
treed514005ca26b792ce3f9f33050970945b06e2e63 /.github/workflows/luacheck.yml
parentffedde3bd611a8f29398f9db71b198be5b23c4dc (diff)
parent13f7c692cbddb53618e904170c6ac1d6762cfa4f (diff)
downloadelevator-4924457eac47fc3a1c6c47834ed064b1b2089923.tar.gz
elevator-4924457eac47fc3a1c6c47834ed064b1b2089923.tar.bz2
elevator-4924457eac47fc3a1c6c47834ed064b1b2089923.zip
Merge pull request #10 from S-S-X/refactor
Refactoring mod structure
Diffstat (limited to '.github/workflows/luacheck.yml')
-rw-r--r--.github/workflows/luacheck.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml
new file mode 100644
index 0000000..a03fe92
--- /dev/null
+++ b/.github/workflows/luacheck.yml
@@ -0,0 +1,17 @@
+name: luacheck
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - 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 ./