From 8dc61c01fe84c4870db541d79ad3f1de536b83b5 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 19 Jul 2024 09:23:39 +0200 Subject: [PATCH] added github workflow --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4841550 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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