add luacheck action

This commit is contained in:
theFox6 2020-02-25 16:40:06 +01:00 committed by GitHub
parent e29ade9887
commit 7b0dc64309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

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

@ -0,0 +1,13 @@
name: luacheck
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
- name: run luacheck
uses: Roang-zero1/factorio-mod-luacheck@master
with:
LUACHECKRC_URL: https://raw.githubusercontent.com/${{github.repository}}/${{github.sha}}/.luacheckrc