go-typst/.github/workflows/test.yml
David Vogel d66d337897
Some checks failed
golangci-lint / lint (push) Successful in 1m38s
test / test (1.23.x, 0.12.0) (push) Failing after 5s
test / test (1.23.x, 0.13.0) (push) Failing after 5s
test / test (1.23.x, 0.13.1) (push) Failing after 4s
test / test (1.23.x, 0.14.0) (push) Failing after 4s
Add compatibility with Typst 0.14.0
- Add new PDF standards
- Add --ignore-embedded-fonts flag
- Add --no-pdf-tags flag
- Add Typst 0.14.0 to test workflow
2025-10-24 22:01:41 +02:00

32 lines
707 B
YAML

name: test
on: [push, pull_request]
jobs:
build:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.23.x']
typst-version: ['0.12.0', '0.13.0', '0.13.1', '0.14.0']
steps:
- name: Install typst-cli ${{ matrix.typst-version }} from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: typst-cli
version: '${{ matrix.typst-version }}'
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out code
uses: actions/checkout@v4
- name: Test package
run: go test -v ./...