blob: bb3d7f09a359369a9eda5f5d3b67cb7d94a25dba (
plain) (
blame)
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
|
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
defaults:
run:
shell: bash
working-directory: typstc
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: typstc
- name: Checkout toddle
uses: actions/checkout@v2
with:
repository: typst/toddle
token: ${{ secrets.TYPSTC_ACTION_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT
path: toddle
- name: Checkout tide
uses: actions/checkout@v2
with:
repository: typst/tide
token: ${{ secrets.TYPSTC_ACTION_TOKEN }} # `GitHub_PAT` is a secret that contains your PAT
path: tide
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
|