tmate [TO BE REMOVED] #119
Workflow file for this run
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: Static analysis | |
on: | |
push: | |
pull_request: | |
jobs: | |
static-analysis: | |
if: | | |
github.event_name == 'push' || | |
github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup luarocks | |
run: sudo apt install -y luarocks | |
- name: Setup luacheck | |
run: luarocks --local install luacheck | |
- run: echo $(luarocks path --lr-bin) >> $GITHUB_PATH | |
- name: Run luacheck | |
run: luacheck . | |
- run: luarocks lint luzer-scm-1.rockspec |