Skip to content

Commit

Permalink
add caching for CI workflow as well
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Dec 18, 2024
1 parent 3d87f81 commit f3ff5bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tpch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
tool: "cargo"
output-file-path: output.txt
gh-pages-branch: gh-pages
github-token: ${{ secrets.BENCHMARK_ACTION_BOT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
# Automatically push the results to the GitHub pages branch.
auto-push: true
# Show alert with commit comment on detecting possible performance regression.
Expand All @@ -48,4 +48,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"

0 comments on commit f3ff5bc

Please sign in to comment.