Skip to content

Commit 68e8f92

Browse files
committed
use configuration matrix to test with different Typst versions
1 parent 5d735a3 commit 68e8f92

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
jobs:
99
tests:
10+
strategy:
11+
matrix:
12+
# add any other Typst versions that your package should support
13+
typst-version: ["0.11"]
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout
@@ -38,7 +42,7 @@ jobs:
3842
- name: Setup typst
3943
uses: typst-community/setup-typst@v3
4044
with:
41-
typst-version: '0.11'
45+
typst-version: ${{ matrix.typst-version }}
4246

4347
- name: Run test suite
4448
run: just ci

0 commit comments

Comments
 (0)