Skip to content

Commit

Permalink
only build docs on the latest Typst version: the docs don't need to b…
Browse files Browse the repository at this point in the history
…e compatible with old versions of Typst just because the package is
  • Loading branch information
SillyFreak committed Jun 8, 2024
1 parent 68e8f92 commit 53cd02a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 53cd02a

Please sign in to comment.