Skip to content

Commit

Permalink
add typst v0.12 to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Oct 24, 2024
1 parent dbed991 commit ccfe167
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests-compile-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ name: Tests Compile CI
on:
# Triggers the workflow on push or pull request events but only for the branches below
push:
branches: [ "main", "0.0.x", "0.1.0-dev" ]
branches: ["main", "0.0.x", "0.1.0-dev"]
pull_request:
branches: [ "main", "0.0.x", "0.1.0-dev" ]
branches: ["main", "0.0.x", "0.1.0-dev"]

# Allows one to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -25,8 +25,8 @@ jobs:
matrix:
# Test for the following Typst versions
# 0.2.0 (earliest supported), 0.6.0 (first version with package management),
# 0.10.0 (latest supported)
typst-version: [v0.2.0, v0.6.0, v0.10.0]
# 0.10.0, 0.11.1, 0.12.0 (latest supported)
typst-version: [v0.2.0, v0.6.0, v0.10.0, v0.11.1, v0.12.0]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -44,14 +44,14 @@ jobs:
DISCLAIMER
- name: 📥 Setup Typst 0.2.0
uses: yusancky/setup-typst@v1
uses: typst-community/setup-typst@v1
id: setup-typst-old
if: ${{ matrix.typst-version == 'v0.2.0' }}
with:
version: ${{ matrix.typst-version }}

- name: 📥 Setup Typst (0.3.0+)
uses: yusancky/setup-typst@v2
uses: typst-community/setup-typst@v3
id: setup-typst
if: ${{ matrix.typst-version != 'v0.2.0' }}
with:
Expand Down

0 comments on commit ccfe167

Please sign in to comment.