2024-07-01 14:17:54 +00:00
|
|
|
name: Gitea Action for checking typst compilation
|
2024-07-01 17:14:48 +00:00
|
|
|
run-name: Performing Typst compilation
|
2024-07-01 14:17:54 +00:00
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-07-01 17:14:48 +00:00
|
|
|
run-ci-linux:
|
2024-07-01 14:17:54 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-07-01 17:14:48 +00:00
|
|
|
env:
|
|
|
|
TYPST_INSTALL: /usr/local
|
2024-07-02 06:15:08 +00:00
|
|
|
TYPST_VERSION: 0.11.1
|
2024-07-01 14:17:54 +00:00
|
|
|
steps:
|
2024-07-01 17:14:48 +00:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Typst CLI
|
2024-07-02 06:15:08 +00:00
|
|
|
run: curl -fsSL https://typst.community/typst-install/install.sh | sh -s "$TYPST_VERSION"
|
2024-07-05 12:50:31 +00:00
|
|
|
- name: Set up Python 3
|
2024-07-05 12:58:42 +00:00
|
|
|
uses: actions/setup-python@v4
|
2024-07-05 12:50:31 +00:00
|
|
|
with:
|
2024-07-05 12:54:14 +00:00
|
|
|
python-version: '3.12'
|
2024-07-01 17:14:48 +00:00
|
|
|
- name: Run CI
|
2024-07-01 17:25:45 +00:00
|
|
|
run: bash -c ./run-ci.sh
|