Skip to content

Commit daa410f

Browse files
committed
Cache all crates for citool
Even the local workspace ones, since they almost never change.
1 parent 1434630 commit daa410f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,20 @@ jobs:
6464
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
6565
with:
6666
workspaces: src/ci/citool
67+
cache-all-crates: true
6768
- name: Test citool
6869
# Only test citool on the auto branch, to reduce latency of the calculate matrix job
6970
# on PR/try builds.
7071
if: ${{ github.ref == 'refs/heads/auto' }}
7172
run: |
7273
cd src/ci/citool
73-
CARGO_INCREMENTAL=0 cargo test
74+
cargo test
7475
- name: Calculate the CI job matrix
7576
env:
7677
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
7778
run: |
7879
cd src/ci/citool
79-
CARGO_INCREMENTAL=0 cargo run calculate-job-matrix >> $GITHUB_OUTPUT
80+
cargo run calculate-job-matrix >> $GITHUB_OUTPUT
8081
id: jobs
8182
job:
8283
name: ${{ matrix.full_name }}

0 commit comments

Comments
 (0)