Skip to content

Commit

Permalink
🚦 Cache llvm-tools-preview
Browse files Browse the repository at this point in the history
`cargo llvm-cov` automatically installs the `llvm-tools-preview` via
Rustup, but this build does _not_ get cached unlike other tools that
are installed. A consequence of this is that this makes the build
take longer.

This now explicitly requests it so that it can be cached for later
builds.
  • Loading branch information
bitwizeshift committed Dec 12, 2023
1 parent bd1dfc6 commit 4c34e16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ jobs:

- name: Install toolchain
uses: ./.github/actions/rust-toolchain
with:
components: llvm-tools-preview

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
Expand Down

0 comments on commit 4c34e16

Please sign in to comment.