ci: use windows-latest over windows-2022

It's convenient to not need to manually update the runner version.
This commit is contained in:
dundargoc 2024-02-10 15:01:53 +01:00 committed by Christian Clason
parent 05962ae14a
commit 143a342bd8
2 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@ jobs:
key: ${{ matrix.os }}-${{ matrix.cc }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_selectors.lua') }}
- name: Compile parsers Unix like
if: ${{ matrix.os != 'windows-latest' && steps.parsers-cache.outputs.cache-hit != 'true' }}
if: ${{ runner.os != 'Windows' && steps.parsers-cache.outputs.cache-hit != 'true' }}
run: |
nvim --headless -c "TSInstallSync all" -c "q"