chore: typst 0.13 updates (#113)

* chore: upgrade linguify

* chore: update tests

* fix: remove deprecated type checks

* chore: improve Justfile docs

* chore: compile with typst 0.12 and 0.13 in CI

* chore: use tytanic for testing

* chore: use tytanic in CI

* fix: don't use ubuntu-latest

* fix: test runner issues

* chore: trying to fix CI issues

* fix: remove unused font in tests

* fix: update references
This commit is contained in:
Paul T
2025-03-29 08:12:19 -04:00
committed by GitHub
parent beff2b2b4b
commit 12352d79bd
7 changed files with 54 additions and 35 deletions

View File

@@ -10,13 +10,13 @@ jobs:
strategy:
matrix:
# add any other Typst versions that your package should support
typst-version: ["0.12"]
typst-version: ["0.12", "0.13"]
# the docs don't need to build with all versions supported by the package;
# the latest one is enough
include:
- typst-version: "0.12"
- typst-version: "0.13"
doc: 1
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -37,12 +37,10 @@ jobs:
with:
crate: just
- name: Install typst-test from github
- name: Install tytanic from github
uses: baptiste0928/cargo-install@v3
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
tag: ci-semi-stable
crate: tytanic
- name: Setup typst
uses: typst-community/setup-typst@v3
@@ -55,6 +53,7 @@ jobs:
sudo apt-get install fonts-roboto
./scripts/install-fontawesome
./scripts/install-source-sans
typst fonts
- name: Install locally
run: just install