From 13f7c692cbddb53618e904170c6ac1d6762cfa4f Mon Sep 17 00:00:00 2001 From: SX Date: Fri, 14 Feb 2020 02:30:20 +0200 Subject: Added linter --- .github/workflows/luacheck.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/luacheck.yml (limited to '.github') 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 ./ -- cgit v1.2.3