File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
tests :
10
+ strategy :
11
+ matrix :
12
+ # add any other Typst versions that your package should support
13
+ typst-version : ["0.11"]
14
+ # the docs don't need to build with all versions supported by the package;
15
+ # the latest one is enough
16
+ include :
17
+ - typst-version : " 0.11"
18
+ doc : 1
10
19
runs-on : ubuntu-latest
11
20
steps :
12
21
- name : Checkout
13
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
14
23
15
24
- name : Probe runner package cache
16
- uses : awalsh128/cache-apt-pkgs-action@latest
25
+ uses : awalsh128/cache-apt-pkgs-action@v1
17
26
with :
18
27
packages : imagemagick cargo
19
28
version : 1.0
20
29
21
30
- name : Install oxipng from crates.io
22
- uses : baptiste0928/cargo-install@v2.2.0
31
+ uses : baptiste0928/cargo-install@v3
23
32
with :
24
33
crate : oxipng
25
34
26
35
- name : Install just from crates.io
27
- uses : baptiste0928/cargo-install@v2.2.0
36
+ uses : baptiste0928/cargo-install@v3
28
37
with :
29
38
crate : just
30
39
31
40
- name : Install typst-test from github
32
- uses : baptiste0928/cargo-install@v2.2.0
41
+ uses : baptiste0928/cargo-install@v3
33
42
with :
34
43
crate : typst-test
35
44
git : https://github.com/tingerrr/typst-test.git
36
45
tag : ci-semi-stable
37
46
38
47
- name : Setup typst
39
- uses : yusancky /setup-typst@v2
48
+ uses : typst-community /setup-typst@v3
40
49
with :
41
- version : ' v0.11.0 '
50
+ typst- version : ${{ matrix.typst-version }}
42
51
43
52
- name : Run test suite
44
- run : just ci
53
+ run : just test
54
+
55
+ - name : Build docs
56
+ if : ${{ matrix.doc }}
57
+ run : just doc
You can’t perform that action at this time.
0 commit comments