From a3c6922de04aefe06483989075ed5d05c3ef1592 Mon Sep 17 00:00:00 2001 From: Connor Tsui Date: Wed, 18 Dec 2024 18:15:21 -0500 Subject: [PATCH] add caching for CI workflow as well --- .github/workflows/CI.yaml | 2 ++ .github/workflows/tpch.yaml | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index a49b90d1..aa4eda25 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -36,6 +36,8 @@ jobs: with: profile: minimal components: rustfmt, clippy + # Make sure to use cached compilation objects if they exist. + - uses: Swatinem/rust-cache@v2 - name: Check code format uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/tpch.yaml b/.github/workflows/tpch.yaml index 77ded84f..0166073b 100644 --- a/.github/workflows/tpch.yaml +++ b/.github/workflows/tpch.yaml @@ -5,7 +5,6 @@ on: push: branches: - main - - continuous-bench-attempt permissions: # deployments permission to deploy GitHub pages website @@ -48,4 +47,4 @@ jobs: fail-on-alert: true alert-comment-cc-users: "@connortsui20" # Push to dedicated benchmark result repository. - gh-repository: "https://github.com/cmu-db/optd-benchmark" + gh-repository: "github.com/cmu-db/optd-benchmark"