-
-
Notifications
You must be signed in to change notification settings - Fork 38
44 lines (43 loc) · 1.12 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Tests
on:
push:
branches:
- main
- master
pull_request:
branches:
- '**'
jobs:
ci:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: imagemagick cargo parallel
version: 1.0
- name: Install typos-cli from crates.io
uses: baptiste0928/[email protected]
with:
crate: typos-cli
- name: Install just from crates.io
uses: baptiste0928/[email protected]
with:
crate: just
- name: Install typst-test from github
uses: baptiste0928/[email protected]
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
tag: ci-semi-stable
- uses: typst-community/setup-typst@v3
with:
typst-version: '0.11.0'
cache-dependency-path: src/deps.typ
- run: |
just install @local
just install @preview
just test