Skip to content

Commit

Permalink
Feat: add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Jan 19, 2024
1 parent fb7bba6 commit 3bc1234
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests
on: [push, pull_request]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: imagemagick cargo parallel nushell
version: 1.0

- name: Install nushell from crates.io
uses: baptiste0928/[email protected]
with:
crate: nushell

- name: Install just from crates.io
uses: baptiste0928/[email protected]
with:
crate: just

- name: Install typst-test from github
uses: baptiste0928/[email protected]
with:
crate: typst-test
git: https://github.com/tingerrr/typst-test.git
branch: core-rework

- uses: yusancky/setup-typst@v2
id: setup-typst
with:
version: 'v0.10.0'

- run: |
just gen
just test

0 comments on commit 3bc1234

Please sign in to comment.