Skip to content

Abbreviate strict in PHP #492

Abbreviate strict in PHP

Abbreviate strict in PHP #492

Workflow file for this run

name: Lua
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Lua
uses: leafo/gh-actions-lua@v10
- name: Set up Luarocks
uses: leafo/gh-actions-luarocks@v4
- name: Install Luacheck
run: |
luarocks install luacheck
- name: Install StyLua
run: |
wget -q https://github.com/JohnnyMorganz/StyLua/releases/download/v0.18.2/stylua-linux-x86_64.zip
unzip stylua-linux-x86_64.zip
chmod u+x stylua
- name: Lint Lua files
run: |
PATH="$PATH:." make lint-lua