Skip to content

ci: added check and release workflows #1

ci: added check and release workflows

ci: added check and release workflows #1

Workflow file for this run

name: Check
on:
push:
branches:
- main
paths:
- 'joysticktester/**'
pull_request:
branches:
- main
paths:
- 'joysticktester/**'
workflow_dispatch:
workflow_call:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Lua
uses: leafo/gh-actions-lua@35bcb06abec04ec87df82e08caa84d545348536e # v10.0.0
- name: Set up LuaRocks
uses: hishamhm/gh-actions-luarocks@master
- name: Run luacheck on Lua files
run: luarocks install luacheck && luacheck . --no-cache --formatter TAP --include-files "joysticktester/**/*.lua"