Skip to content

API migration

API migration #8

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4"
- name: Install StyLua
run: |
curl -L -o stylua.zip https://github.com/JohnnyMorganz/StyLua/releases/download/v2.1.0/stylua-linux-x86_64.zip
unzip stylua.zip
chmod +x stylua
sudo mv stylua /usr/local/bin/
- name: Check Lua formatting
run: stylua --check --respect-ignores .