Skip to content

Commit 53cd02a

Browse files
committed
only build docs on the latest Typst version: the docs don't need to be compatible with old versions of Typst just because the package is
1 parent 68e8f92 commit 53cd02a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
matrix:
1212
# add any other Typst versions that your package should support
1313
typst-version: ["0.11"]
14+
# the docs don't need to build with all versions supported by the package;
15+
# the latest one is enough
16+
include:
17+
- typst-version: "0.11"
18+
doc: 1
1419
runs-on: ubuntu-latest
1520
steps:
1621
- name: Checkout
@@ -45,4 +50,8 @@ jobs:
4550
typst-version: ${{ matrix.typst-version }}
4651

4752
- name: Run test suite
48-
run: just ci
53+
run: just test
54+
55+
- name: Build docs
56+
if: ${{ matrix.doc }}
57+
run: just doc

0 commit comments

Comments
 (0)