fix: neovim 0.10.x has renamed vim.loop to vim.uv #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format | |
on: [push, pull_request] | |
jobs: | |
format: | |
name: Stylua | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: date +%W > weekly | |
- name: Restore cache | |
id: cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin | |
key: ${{ runner.os }}-cargo-${{ hashFiles('weekly') }} | |
- name: Install | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: cargo install stylua | |
- name: Format | |
run: stylua --check lua/ --config-path=.stylua.toml |