Skip to content

Commit 4f96548

Browse files
CI - Use Workflow Version 4 (#143)
2 parents b36b9a7 + 6689631 commit 4f96548

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,10 @@ jobs:
2424
with:
2525
crate: tytanic
2626
git: https://github.com/tingerrr/tytanic.git
27-
- run: |
28-
rustup target add wasm32-unknown-unknown
29-
CETZ=$(mktemp -d)
30-
mkdir -p ~/.local/share/typst/packages/preview/cetz
31-
git clone --depth 1 --branch v0.4.0 https://github.com/cetz-package/cetz.git "$CETZ"
32-
cd "$CETZ"
33-
git submodule update --init --recursive
34-
just install @preview
35-
- uses: typst-community/setup-typst@v3
27+
- uses: typst-community/setup-typst@v4
3628
with:
3729
typst-version: '0.13.1'
38-
cache-dependency-path: src/cetz.typ
30+
zip-packages: requirements.json
3931
- run: |
4032
just install @local
4133
just install @preview

requirements.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"preview": {
3+
"cetz": "https://github.com/cetz-package/cetz/archive/refs/tags/v0.3.4.zip"
4+
},
5+
"local": {
6+
}
7+
}

0 commit comments

Comments
 (0)