From facacf91b4376efb7b4b1e92e3aabe910be84b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Mon, 18 Dec 2023 08:24:40 -0800 Subject: [PATCH] Cache artifacts for more CI jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this change we use the Swatinem/rust-cache GitHub Action in more of our CI jobs to speed up the workflow even more. Signed-off-by: Daniel Müller --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aead27da..01c24661 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -86,6 +86,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 - name: Install required tools run: sudo apt-get install -y llvm-14 - name: Install cargo-llvm-cov @@ -108,6 +109,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 + with: + key: ${{ matrix.sanitizer }} - name: Enable debug symbols run: | # to get the symbolizer for debug symbol resolution @@ -135,6 +139,7 @@ jobs: - name: Install required tools run: sudo apt-get install -y llvm-14 - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 - run: cargo test --workspace --release test-miri: name: Test with Miri