2021-10-09 00:30:11 -07:00
|
|
|
name: luacheck
|
2020-11-04 08:17:45 -08:00
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-01-09 22:13:38 -08:00
|
|
|
- uses: actions/checkout@main
|
2020-11-04 08:17:45 -08:00
|
|
|
- name: apt
|
|
|
|
run: sudo apt-get install -y luarocks
|
|
|
|
- name: luacheck install
|
|
|
|
run: luarocks install --local luacheck
|
|
|
|
- name: luacheck run
|
|
|
|
run: $HOME/.luarocks/bin/luacheck ./
|