Skip to content

Commit 8f57e45

Browse files
committed
os matrix test in ci
1 parent d5e173d commit 8f57e45

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/verify.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ permissions:
1111

1212
jobs:
1313
test:
14-
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest, macos-latest]
17+
runs-on: ${{ matrix.os }}
18+
name: test ${{ matrix.os }}
1519

1620
steps:
1721
- name: checkout
@@ -25,9 +29,11 @@ jobs:
2529
deno-version: v2.x
2630

2731
- name: format
32+
if: ${{ matrix.os == 'ubuntu-latest' }}
2833
run: deno task fmt:check
2934

3035
- name: lint
36+
if: ${{ matrix.os == 'ubuntu-latest' }}
3137
run: deno lint
3238

3339
- name: build wasm

0 commit comments

Comments
 (0)