Skip to content

release 4.12.0: security fixes (#225) #510

release 4.12.0: security fixes (#225)

release 4.12.0: security fixes (#225) #510

Workflow file for this run

name: Luacheck
concurrency:
# for PR's cancel the running task, if another commit is pushed
group: ${{ github.workflow }} ${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
on:
# build on PR and push-to-master. This works for short-lived branches, and saves
# CPU cycles on duplicated tests.
# For long-lived branches that diverge, you'll want to run on all pushes, not
# just on push-to-master.
pull_request: {}
push:
branches:
- master
permissions: read-all
jobs:
luacheck:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- uses: luarocks/gh-actions-lua@fc6f8de246f8c01f6e1a56a1b851143e23370ff3
with:
luaVersion: "5.4"
- uses: luarocks/gh-actions-luarocks@95d2308a0aff36ad31ebadca493ed14853399842
with:
luaRocksVersion: "3.13.0"
- name: Lint rockspecs
run: |
for i in $(find . -type f -name "*.rockspec"); do echo $i; luarocks lint $i || exit 1; done
- name: Luacheck
uses: lunarmodules/luacheck@cc089e3f65acdd1ef8716cc73a3eca24a6b845e4