Skip to content

chore: Change exclude rule to include example typ file #17

chore: Change exclude rule to include example typ file

chore: Change exclude rule to include example typ file #17

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install just from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: just
- name: Install required fonts
run: |
sudo apt-get install fontconfig
wget -O inter.zip https://github.com/rsms/inter/releases/download/v4.0/Inter-4.0.zip
mkdir ./inter
unzip -d ./inter inter.zip
mkdir -p /usr/share/fonts/inter
mv ./inter/extras/ttf/* /usr/share/fonts/inter
fc-cache -f -v
- name: Install typst-test from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
tag: ci-semi-stable
- uses: typst-community/setup-typst@v3
- run: |
just test