Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit f3ff5bc

Browse files
committed
add caching for CI workflow as well
1 parent 3d87f81 commit f3ff5bc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/CI.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
with:
3737
profile: minimal
3838
components: rustfmt, clippy
39+
# Make sure to use cached compilation objects if they exist.
40+
- uses: Swatinem/rust-cache@v2
3941
- name: Check code format
4042
uses: actions-rs/cargo@v1
4143
with:

.github/workflows/tpch.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
tool: "cargo"
3939
output-file-path: output.txt
4040
gh-pages-branch: gh-pages
41-
github-token: ${{ secrets.BENCHMARK_ACTION_BOT_TOKEN }}
41+
github-token: ${{ secrets.GITHUB_TOKEN }}
4242
# Automatically push the results to the GitHub pages branch.
4343
auto-push: true
4444
# Show alert with commit comment on detecting possible performance regression.
@@ -48,4 +48,4 @@ jobs:
4848
fail-on-alert: true
4949
alert-comment-cc-users: "@connortsui20"
5050
# Push to dedicated benchmark result repository.
51-
gh-repository: "https://github.com/cmu-db/optd-benchmark"
51+
gh-repository: "github.com/cmu-db/optd-benchmark"

0 commit comments

Comments
 (0)