Skip to content

Commit

Permalink
update CI to install tools as binaries instead of compiling them
Browse files Browse the repository at this point in the history
  • Loading branch information
SillyFreak committed Feb 12, 2025
1 parent e628e9a commit 87dfe9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Probe runner package cache
uses: awalsh128/cache-apt-pkgs-action@v1
- name: Install just
uses: taiki-e/install-action@v2
with:
packages: cargo
version: 1.0

- name: Install just from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: just
tool: just

- name: Setup typst
uses: typst-community/setup-typst@v3
Expand Down
18 changes: 3 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Probe runner package cache
uses: awalsh128/cache-apt-pkgs-action@v1
- name: Install just and tytanic
uses: taiki-e/install-action@v2
with:
packages: cargo
version: 1.0

- name: Install just from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: just

- name: Install tytanic from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: tytanic
version: ${{ matrix.typst-version.tytanic }}
tool: just,tytanic@${{ matrix.typst-version.tytanic }}

- name: Setup typst
id: setup-typst
Expand Down

0 comments on commit 87dfe9d

Please sign in to comment.