added github workflow
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 29s Details

This commit is contained in:
Sven Vogel 2024-07-19 09:23:39 +02:00
parent 0f7c6257d9
commit 8dc61c01fe
1 changed files with 19 additions and 0 deletions

19
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: GitHub Action for checking typst compilation
run-name: Performing Typst compilation
on: [push]
jobs:
run-ci-linux:
runs-on: ubuntu-latest
env:
TYPST_INSTALL: /usr/local
TYPST_VERSION: 0.11.1
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Typst CLI
run: curl -fsSL https://typst.community/typst-install/install.sh | sh -s "$TYPST_VERSION"
- name: Set up Python 3
run: apt update -y && apt install python3-pip -y
- name: Run CI
run: bash -c ./run-ci.sh