diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docgen.yml (renamed from .github/workflows/main.yml) | 2 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/docgen.yml index 1958fc98..78ccdf6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/docgen.yml @@ -1,4 +1,4 @@ -name: CI +name: docgen on: [push] diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..fad473da --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: lint + +on: + pull_request: + branches: + - master + +jobs: + lint: + runs-on: [ubuntu-latest] + steps: + - name: Checkout sources + uses: actions/checkout@v1 + - name: Setup luacheck + run: | + sudo apt update && + sudo apt install -y lua5.1 luarocks && + sudo luarocks install luacheck + - name: Run luacheck + run: | + luacheck . + |
