Skip to content

Commit a8cb50d

Browse files
committed
ci: matrix nvim version
1 parent fa7ebc2 commit a8cb50d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ permissions:
1313

1414
env:
1515
LUA_VERSION: "5.1"
16-
NVIM_VERSION: "v0.9.4"
1716
STYLUA_VERSION: "0.19.1"
1817
LUALS_VERSION: "3.7.3"
1918

2019
jobs:
20+
strategy:
21+
matrix:
22+
NVIM_VERSION: [ "v0.8.3", "v0.9.4" ]
2123
lint:
2224
runs-on: ubuntu-latest
2325
steps:
@@ -55,7 +57,7 @@ jobs:
5557
- uses: rhysd/action-setup-vim@v1
5658
with:
5759
neovim: true
58-
version: ${{ env.NVIM_VERSION }}
60+
version: ${{ matrix.NVIM_VERSION }}
5961

6062
- name: install
6163
run: |
@@ -64,5 +66,5 @@ jobs:
6466
6567
- name: check
6668
run: |
67-
VIMRUNTIME=/home/runner/nvim-${NVIM_VERSION}/share/nvim/runtime PATH="luals/bin:${PATH}" make check
69+
VIMRUNTIME=/home/runner/nvim-${{ matrix.NVIM_VERSION }}/share/nvim/runtime PATH="luals/bin:${PATH}" make check
6870
make help-check

0 commit comments

Comments
 (0)