Skip to content

Commit fffee41

Browse files
committed
Use rust-cache to speed-up citool compilation
1 parent 07d3fd1 commit fffee41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ jobs:
5353
steps:
5454
- name: Checkout the source code
5555
uses: actions/checkout@v4
56+
# Cache citool to make its build faster, as it's in the critical path.
57+
# The rust-cache doesn't bleed into the main `job`, so it should not affect any other
58+
# Rust compilation.
59+
# 9d47c6ad4b02e050fd481d890b2ea34778fd09d6 corresponds to version 2.7.8
60+
- name: Cache citool
61+
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
62+
with:
63+
workspaces: src/ci/citool
5664
- name: Calculate the CI job matrix
5765
env:
5866
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

0 commit comments

Comments
 (0)