From 53cd02ab31fc75f16712d8f3a31331aec6fe0165 Mon Sep 17 00:00:00 2001 From: Clemens Koza Date: Sat, 8 Jun 2024 14:36:31 +0200 Subject: [PATCH] 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 --- .github/workflows/tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6603cd3..adf0cd7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,11 @@ jobs: matrix: # add any other Typst versions that your package should support typst-version: ["0.11"] + # the docs don't need to build with all versions supported by the package; + # the latest one is enough + include: + - typst-version: "0.11" + doc: 1 runs-on: ubuntu-latest steps: - name: Checkout @@ -45,4 +50,8 @@ jobs: typst-version: ${{ matrix.typst-version }} - name: Run test suite - run: just ci + run: just test + + - name: Build docs + if: ${{ matrix.doc }} + run: just doc