Skip to content

👷 Integrate Typstyle into the CI #328

👷 Integrate Typstyle into the CI

👷 Integrate Typstyle into the CI #328

Workflow file for this run

name: Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: main
pull_request:
branches: "**"
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install just from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: just
- name: Install typstyle from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: typstyle
- name: Install Typst
uses: yusancky/setup-typst@v3
id: setup-typst
- name: Run checks
run: |
just package local
just package preview
just gallery
just check-format
# TODO: run unit tests here