From f06fe4351ca6841283c1c5796391f7c356bee8bf Mon Sep 17 00:00:00 2001 From: Troy Benson Date: Sun, 8 Dec 2024 06:46:11 +0000 Subject: [PATCH] change cache keys --- .github/workflows/ci.yaml | 5 +++-- .github/workflows/gh-cache.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 666bb089..75695523 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,9 +30,10 @@ jobs: components: clippy - uses: Swatinem/rust-cache@v2 + id: cache-rust with: prefix-key: "v0-rust-${{ steps.setup-rust.outputs.cachekey }}" - key: clippy + shared-key: clippy - name: Make sure code is linted run: cargo +nightly xtask powerset clippy @@ -98,7 +99,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: prefix-key: "v0-rust-${{ steps.setup-rust.outputs.cachekey }}" - key: test + shared-key: test - uses: cargo-bins/cargo-binstall@main diff --git a/.github/workflows/gh-cache.yaml b/.github/workflows/gh-cache.yaml index 9fe8b98f..2c1c1b2d 100644 --- a/.github/workflows/gh-cache.yaml +++ b/.github/workflows/gh-cache.yaml @@ -7,7 +7,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: write steps: