Skip to content

Commit f3077e6

Browse files
ci: Scan example packages
1 parent 80f3c4d commit f3077e6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,22 @@ jobs:
3333

3434
- run: just check
3535
- run: just test
36+
37+
- name: List example packages
38+
shell: bash
39+
run: |
40+
cat <<EOF > deps.typ
41+
#import "@preview/touying:0.6.1"
42+
#import "@preview/glossarium:0.5.8"
43+
EOF
44+
- uses: typst-community/setup-typst@v4
45+
with:
46+
cache-dependency-path: deps.typ
47+
48+
- name: Scan default rules
49+
run: |
50+
just scan touying/0.6.1
51+
just scan glossarium/0.5.8
52+
- name: Scan hard-coded-str
53+
run: |
54+
just scan touying/0.6.1 --hint=hard-coded-str --filter=hard-coded-str

0 commit comments

Comments
 (0)