Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: Use static prefix-key in rust-cache configuration (#36)

Maximilian Roos3c22a7e29bb7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2d46c02fe..3d922fdd7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,7 +43,7 @@ jobs:
- name: πŸ’° Cache
uses: Swatinem/rust-cache@v2
with:
- prefix-key: ${{ hashFiles('Cargo.lock') }}
+ prefix-key: v0-rust
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install shells (bash, zsh, fish) - Ubuntu
@@ -182,7 +182,7 @@ jobs:
- name: πŸ’° Cache
uses: Swatinem/rust-cache@v2
with:
- prefix-key: msrv-${{ hashFiles('Cargo.lock') }}
+ prefix-key: v0-msrv
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: baptiste0928/cargo-install@v3
@@ -207,7 +207,7 @@ jobs:
- name: πŸ’° Cache
uses: Swatinem/rust-cache@v2
with:
- prefix-key: udeps-${{ hashFiles('Cargo.lock') }}
+ prefix-key: v0-udeps
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: baptiste0928/cargo-install@v3
@@ -234,7 +234,7 @@ jobs:
- name: πŸ’° Cache
uses: Swatinem/rust-cache@v2
with:
- prefix-key: ${{ hashFiles('Cargo.lock') }}
+ prefix-key: v0-bench
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install shells (zsh, fish)