Skip to content

Commit daff05c

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ 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
5662
- name: Calculate the CI job matrix
5763
env:
5864
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

0 commit comments

Comments
 (0)