diff --git a/.github/workflows/benchmark-regression.yml b/.github/workflows/benchmark-regression.yml index f764181..505d4d3 100644 --- a/.github/workflows/benchmark-regression.yml +++ b/.github/workflows/benchmark-regression.yml @@ -58,7 +58,7 @@ jobs: - name: Restore baseline from cache id: cache-baseline - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 with: path: bench-baseline.json key: bench-baseline-${{ github.ref == 'refs/heads/master' && github.run_id || 'master-latest' }} @@ -157,7 +157,7 @@ jobs: - name: Save baseline to cache (master only) if: github.ref == 'refs/heads/master' && steps.run-bench.outcome == 'success' - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 with: path: bench-results.json key: bench-baseline-${{ github.run_id }} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 1ff05ce..9db0736 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -72,7 +72,7 @@ jobs: - name: Download baseline report id: baseline - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 with: path: benchmark-baseline.json key: benchmark-baseline-${{ github.ref == 'refs/heads/master' && github.sha || 'master-latest' }} @@ -118,7 +118,7 @@ jobs: - name: Cache baseline (master branch only) if: github.ref == 'refs/heads/master' && steps.run.outcome == 'success' - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 with: path: benchmark-report.json key: benchmark-baseline-${{ github.sha }}