github: run workflows on all branches #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |