From b495fc2ace91e8adc9145cadca7fc7f1b022752a Mon Sep 17 00:00:00 2001 From: Techcable Date: Sat, 9 Sep 2023 20:29:27 -0700 Subject: [PATCH] ci: Add shared cache of registry info and sources Should hopefully speed up compiling of the old versions. --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98eca2d0..d3f8c7be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,6 +99,15 @@ jobs: with: toolchain: ${{ matrix.rust }} components: clippy + + - uses: actions/cache@v3 + name: Cache ~/.cargo registry info and sources + with: + key: cratesio-always-shared + path: | + ~/.cache/registry + ~/.cache/git + - name: Check # A failing `cargo check` always ends the build run: |