Skip to content

ci: add github action to check lua code format #6

ci: add github action to check lua code format

ci: add github action to check lua code format #6

Workflow file for this run

name: Format Check
on:
pull_request:
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install stylua
run: |
wget https://github.com/JohnnyMorganz/StyLua/releases/download/v2.3.1/stylua-linux-x86_64.zip
unzip stylua-linux-x86_64.zip
sudo mv stylua /usr/local/bin/
- name: Run stylua
run: stylua --check .