bump fletcher version #12
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: CI | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Probe runner package cache | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: cargo | |
version: 1.0 | |
- name: Install typst-test from github | |
uses: baptiste0928/cargo-install@v3.0.0 | |
with: | |
crate: typst-test | |
git: https://github.com/tingerrr/typst-test.git | |
tag: ci-semi-stable | |
- name: Setup typst | |
uses: yusancky/setup-typst@v2 | |
with: | |
version: 'v0.12.0' | |
- name: Run test suite | |
run: typst-test run | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: artifacts | |
path: | | |
tests/**/diff/*.png | |
tests/**/out/*.png | |
tests/**/ref/*.png | |
retention-days: 5 |