Skip to content

Commit 9060384

Browse files
committed
ci: test on windows
1 parent 17ab794 commit 9060384

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
workflow_dispatch:
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12-
cancel-in-progress: true
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1313

1414
jobs:
1515
commit_lint:
@@ -19,7 +19,7 @@ jobs:
1919
- uses: webiny/action-conventional-commits@v1.3.0
2020

2121
test:
22-
runs-on: ubuntu-latest
22+
runs-on: ${{ matrix.os }}
2323
timeout-minutes: 10
2424

2525
strategy:
@@ -29,10 +29,8 @@ jobs:
2929
fail-fast: false
3030

3131
matrix:
32-
neovim_branch:
33-
- 'v0.10.4'
34-
- 'v0.11.0'
35-
- 'nightly'
32+
os: [ubuntu-latest, windows-latest]
33+
neovim_branch: ['v0.10.4', 'v0.11.0', 'nightly']
3634

3735
env:
3836
NVIM_TEST_VERSION: ${{ matrix.neovim_branch }}
@@ -41,11 +39,12 @@ jobs:
4139
- name: Checkout
4240
uses: actions/checkout@v4
4341

44-
- uses: leafo/gh-actions-lua@v9
42+
- uses: ilammy/msvc-dev-cmd@v1
43+
- uses: leafo/gh-actions-lua@v11
4544
with:
4645
luaVersion: "5.1.5"
4746

48-
- uses: leafo/gh-actions-luarocks@v4
47+
- uses: leafo/gh-actions-luarocks@v5
4948

5049
- name: Download nvim-test
5150
run: make nvim-test

0 commit comments

Comments
 (0)