👷 Integrate Typstyle into the CI #345
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: 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 |