Skip to content

Commit

Permalink
github: add a linter action
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Evans <[email protected]>
  • Loading branch information
kevans91 committed Jan 19, 2024
1 parent 13975f0 commit 8b53718
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 luarocks
- name: install lua packages
run: sudo luarocks install luacheck
- name: run linter
run: make lint

0 comments on commit 8b53718

Please sign in to comment.