aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
blob: 65523d184fbf67ea817b54ac8f11c1aa0344ccba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: lint

on:
  pull_request:
    branches:
      - master

jobs:
  lint:
    runs-on: [ubuntu-latest]
    steps:
    - name: Checkout sources
      uses: actions/checkout@v2
    - name: Setup luacheck
      run: |
        sudo apt update &&
        sudo apt install -y lua5.1 luarocks &&
        sudo luarocks install luacheck
    - name: Run luacheck
      run: |
        luacheck .