aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-queries.yml
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-02-10 15:01:53 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-02-10 15:25:01 +0100
commit143a342bd860d6e3d584edeb447fb49febab3355 (patch)
tree9adeca67b11c3c2484be4ecce483f60364f6cf78 /.github/workflows/test-queries.yml
parentchore(bash): update parser and highlights (diff)
downloadnvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar.gz
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar.bz2
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar.lz
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar.xz
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.tar.zst
nvim-treesitter-143a342bd860d6e3d584edeb447fb49febab3355.zip
ci: use `windows-latest` over `windows-2022`
It's convenient to not need to manually update the runner version.
Diffstat (limited to '.github/workflows/test-queries.yml')
-rw-r--r--.github/workflows/test-queries.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml
index d5a3894e4..0d713c836 100644
--- a/.github/workflows/test-queries.yml
+++ b/.github/workflows/test-queries.yml
@@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, windows-2022, macos-14]
+ os: [ubuntu-latest, windows-latest, macos-14]
cc: [gcc, clang]
nvim_tag: [stable]
exclude:
@@ -34,12 +34,12 @@ jobs:
cc: gcc
nvim_tag: stable
- - os: windows-2022
+ - os: windows-latest
cc: clang
nvim_tag: stable
include:
- - os: windows-2022
+ - os: windows-latest
cc: cl
nvim_tag: stable
@@ -51,8 +51,8 @@ jobs:
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.cc }}
- NVIM: ${{ matrix.os == 'windows-2022' && 'nvim-win64\\bin\\nvim.exe' || 'nvim' }}
- ALLOWED_INSTALLATION_FAILURES: ${{ matrix.os == 'windows-2022' && 'rnoweb' }}
+ NVIM: ${{ runner.os == 'Windows' && 'nvim-win64\\bin\\nvim.exe' || 'nvim' }}
+ ALLOWED_INSTALLATION_FAILURES: ${{ runner.os == 'Windows' && 'rnoweb' }}
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
@@ -80,7 +80,7 @@ jobs:
run: $NVIM --headless -c "lua require'nvim-treesitter.install'.prefer_git=false" -c "TSInstallSync all" -c "q"
- name: Post compile Windows
- if: matrix.os == 'windows-2022'
+ if: runner.os == 'Windows'
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
- name: Check query files