From 8ae0cb5f857056168726a2859cfed032e08ef1df Mon Sep 17 00:00:00 2001 From: alankritdabral <95607957+alankritdabral@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:28:38 +0530 Subject: [PATCH 1/3] Update bot.yml --- .github/workflows/bot.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 54fd2eddaf..37d5cd24bd 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -186,3 +186,30 @@ jobs: with: path: benches/main_benchmarks.json key: criterion_benchmarks_${{ github.sha }} + + Checking_Cache: + name: Checking Cache Values + runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: write + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Restore latest pr cache file before merge + uses: actions/cache@v2 + with: + path: benches/main_benchmarks.json + key: criterion_benchmarks_${{ github.event.pull_request.base.sha }} + fail-on-cache-miss: true + + - name: Print cache + run: | + cat benches/main_benchmarks.json From 86c55bc2928fba7c6f19b75550acabc7d355bec5 Mon Sep 17 00:00:00 2001 From: alankritdabral <95607957+alankritdabral@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:29:57 +0530 Subject: [PATCH 2/3] Update bot.yml --- .github/workflows/bot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 37d5cd24bd..6d6b1e2460 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -204,11 +204,11 @@ jobs: override: true - name: Restore latest pr cache file before merge - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: benches/main_benchmarks.json key: criterion_benchmarks_${{ github.event.pull_request.base.sha }} - fail-on-cache-miss: true + fail-on-cache-miss: true - name: Print cache run: | From 47f72c58548ba84d03eab1a520f140b226ffaefd Mon Sep 17 00:00:00 2001 From: alankritdabral <95607957+alankritdabral@users.noreply.github.com> Date: Mon, 25 Dec 2023 20:30:49 +0530 Subject: [PATCH 3/3] Update bot.yml --- .github/workflows/bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 6d6b1e2460..3aa81be782 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -208,7 +208,7 @@ jobs: with: path: benches/main_benchmarks.json key: criterion_benchmarks_${{ github.event.pull_request.base.sha }} - fail-on-cache-miss: true + fail-on-cache-miss: true - name: Print cache run: |