dev: update typst.ts to v0.5.0-rc4 (with canvas improvements) (#70) #277
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: typst_book::ci | |
on: [push, pull_request] | |
env: | |
RUSTFLAGS: '-Dwarnings' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install Artifact Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Fmt check | |
run: cargo fmt --check --all | |
- name: Clippy check | |
run: cargo clippy --workspace --all-targets | |
- name: Documentation check | |
run: cargo doc --workspace --no-deps | |
- name: Build | |
run: | | |
cargo build --release --workspace | |
- name: Build Book | |
run: | | |
cargo run --release --bin typst-book -- build --path-to-root /typst-book/ -w . github-pages/docs | |
- name: Test | |
run: cargo test --workspace --no-fail-fast |