2021-05-05 18:04:16 +00:00
|
|
|
name: Linting
|
|
|
|
|
2021-05-09 21:11:18 +00:00
|
|
|
on:
|
2021-05-05 18:04:16 +00:00
|
|
|
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
|