Skip to content

github: add a linter action #5

github: add a linter action

github: add a linter action #5

Workflow file for this run

name: Lint orch.lua
on:
push:
branches: ['*']
pull_request:
types: [opened, reopened, edited, synchronize]
permissions:
contents: read
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install system packages
run: |
sudo apt-get update --quiet || true
sudo apt-get -yq --no-install-suggests --no-install-recommends install bmake luarocks
- name: install lua packages
run: sudo luarocks install luacheck
- name: run linter
run: bmake lint