Skip to content

fix: color highlight groups are invalid #637

fix: color highlight groups are invalid

fix: color highlight groups are invalid #637

Workflow file for this run

name: Lua
on:
pull_request:
branches:
- main
- develop
jobs:
lua_lint:
name: Lint Lua 💅
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
with:
args: --globals vim --no-max-line-length -- .
lua_format:
name: Formatting Lua 💅
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Action
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
lua_test:
name: Run tests 🧪
strategy:
matrix:
nvim_version: [stable, nightly]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install neovim
uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: true
version: ${{ matrix.nvim_version }}
- name: Install luajit
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "luajit-openresty"
- name: Install luarocks
uses: leafo/gh-actions-luarocks@v4
- name: Run tests
shell: bash
run: |
chmod +x lua-test.sh
./lua-test.sh