From 4c34e16b2ee0e39a21cf812fd18a890166ea0144 Mon Sep 17 00:00:00 2001 From: Matthew Rodusek <7519129+bitwizeshift@users.noreply.github.com> Date: Mon, 11 Dec 2023 23:33:36 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A6=20Cache=20llvm-tools-preview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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. --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dcbd5f2..a5b23b0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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