Skip to content

Commit 2e4e56c

Browse files
committed
CI: Install Typst CLI to run full crates_io_og_image test suite
1 parent cfd2b59 commit 2e4e56c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ env:
2424
PNPM_VERSION: 10.12.3
2525
# renovate: datasource=docker depName=postgres
2626
POSTGRES_VERSION: 16
27+
# renovate: datasource=github-releases depName=typst/typst versioning=semver
28+
TYPST_VERSION: 0.13.1
2729
# renovate: datasource=pypi depName=zizmor
2830
ZIZMOR_VERSION: 1.10.0
2931

@@ -167,6 +169,14 @@ jobs:
167169
# Remove the Android SDK to free up space
168170
- run: sudo rm -rf /usr/local/lib/android
169171

172+
- name: Install Typst
173+
run: |
174+
wget -q "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz"
175+
tar -xf "typst-x86_64-unknown-linux-musl.tar.xz"
176+
sudo mv "typst-x86_64-unknown-linux-musl/typst" /usr/local/bin/
177+
rm -rf "typst-x86_64-unknown-linux-musl" "typst-x86_64-unknown-linux-musl.tar.xz"
178+
typst --version
179+
170180
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
171181
with:
172182
save-if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)