Deprecate state.final()
and query(..., loc)
+ add missing panic for empty attribute + formatting
#113
Workflow file for this run
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: Build example | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build-example: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup typst | |
uses: yusancky/setup-typst@v2 | |
id: setup-typst | |
with: | |
version: 'latest' | |
- name: Setup Just | |
uses: extractions/setup-just@v2 | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
- name: typst version | |
run: typst --version | |
- name: Compile | |
run: just build-examples | |
- name: Upload example PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.sha }}_PDF_EXAMPLES | |
path: examples/* | |
if-no-files-found: error | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup typst | |
uses: yusancky/setup-typst@v2 | |
id: setup-typst | |
with: | |
version: 'latest' | |
- name: Setup Just | |
uses: extractions/setup-just@v2 | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
- name: typst version | |
run: typst --version | |
- name: Compile | |
run: just test | |
- name: Upload example PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.sha }}_PDF_TESTS | |
path: tests/* | |
if-no-files-found: error |