1
Fork 0

Rollup merge of #139819 - Kobzol:rust-cache, r=marcoieni

Use `rust-cache` to speed-up `citool` compilation

Alternative to https://github.com/rust-lang/rust/pull/139678.

r? ``@marcoieni``
This commit is contained in:
Matthias Krüger 2025-04-15 21:16:04 +02:00 committed by GitHub
commit b3e55a5c84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,13 @@ jobs:
steps:
- name: Checkout the source code
uses: actions/checkout@v4
# Cache citool to make its build faster, as it's in the critical path.
# The rust-cache doesn't bleed into the main `job`, so it should not affect any other
# Rust compilation.
- name: Cache citool
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
with:
workspaces: src/ci/citool
- name: Calculate the CI job matrix
env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}