diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 763a818d1..64a538ea7 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -52,7 +52,7 @@ jobs: # restore-keys finds the most recent baseline from main - name: Download main branch baseline id: baseline-cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: target/criterion # Try to find an exact match first (won't happen for PRs) @@ -110,7 +110,7 @@ jobs: # PRs use restore-keys to find the most recent one - name: Save Baseline to Main if: github.ref == 'refs/heads/main' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: target/criterion # Include SHA so each main commit has its own baseline