Skip to content

Commit

Permalink
add preliminary Typst 0.13 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SillyFreak committed Feb 18, 2025
1 parent ec0635d commit eedcc86
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: Tests
on:
push:
branches: [ main ]
branches: [ main, test-tytanic ]
pull_request:
branches: [ main ]

jobs:
tests:
strategy:
matrix:
fail-fast: false
# add any other Typst versions that your package should support
typst-version:
- typst: 0.12
tytanic: 0.1
- typst: 0.13.0-rc1
tytanic: 0.2.0-rc1
# the docs don't need to build with all versions supported by the package;
# the latest one is enough
include:
Expand All @@ -24,10 +27,23 @@ jobs:
uses: actions/checkout@v4

- name: Install just and tytanic
if: ${{ !contains(matrix.typst-version.tytanic, '-rc') }}
uses: taiki-e/install-action@v2
with:
tool: just,tytanic@${{ matrix.typst-version.tytanic }}

- name: Install just
if: ${{ contains(matrix.typst-version.tytanic, '-rc') }}
uses: taiki-e/install-action@v2
with:
tool: just

- name: Install tytanic
uses: taiki-e/cache-cargo-install-action@v2
if: ${{ contains(matrix.typst-version.tytanic, '-rc') }}
with:
tool: tytanic@${{ matrix.typst-version.tytanic }}

- name: Setup typst
id: setup-typst
uses: typst-community/setup-typst@v3
Expand Down

0 comments on commit eedcc86

Please sign in to comment.