2021-05-05 18:04:16 +00:00
|
|
|
name: Linting
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-05-06 12:14:06 +00:00
|
|
|
branches: [master]
|
2021-05-05 18:04:16 +00:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Luacheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install linter
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install luarocks
|
|
|
|
sudo luarocks install luacheck
|
|
|
|
- name: Lint
|
|
|
|
run: make lint
|