Skip to content

Commit 9e90bb7

Browse files
authored
Unrolled build for rust-lang#139819
Rollup merge of rust-lang#139819 - Kobzol:rust-cache, r=marcoieni Use `rust-cache` to speed-up `citool` compilation Alternative to rust-lang#139678. r? ``@marcoieni``
2 parents 414da5b + c49b0bd commit 9e90bb7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ 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+
- name: Cache citool
60+
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
61+
with:
62+
workspaces: src/ci/citool
5663
- name: Calculate the CI job matrix
5764
env:
5865
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

0 commit comments

Comments
 (0)