From ea4c70895629ea73cee156c90ea6ab2e188a38c4 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Mon, 27 Feb 2023 22:01:06 -0800 Subject: [PATCH] ci: Reset cache (#1986) --- .github/workflows/test-rust.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-rust.yaml b/.github/workflows/test-rust.yaml index 2c8d0f3b9625..0ac9ed479b11 100644 --- a/.github/workflows/test-rust.yaml +++ b/.github/workflows/test-rust.yaml @@ -18,6 +18,11 @@ jobs: - name: 💰 Cache uses: Swatinem/rust-cache@v2 with: + # Based on https://github.com/PRQL/prql/issues/1985, attempting to + # reset the cache. If necessary, we could do this on each release and + # have this update automatically (there's no variable that contains + # the current version unfortunately, though). + prefix-key: "0.5.2" key: ${{ inputs.target_option }} save-if: ${{ github.ref == 'refs/heads/main' }} - uses: baptiste0928/cargo-install@next