aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
blob: 5d5214551c4b40f16ae3471e4b264631364041cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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: |
        sudo make lint