Skip to content

Commit afe2b92

Browse files
ralfbiedertCopilot
andcommitted
ci(rallocator): preserve scoped tool registration [mac-coverage]
Restore scoped Cargo binaries and registry after the shared Anvil bootstrap, and discard the cache generation whose registration files were overwritten. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 536d29d0-3909-44b0-989c-acd2aa9b2a91
1 parent 9e74dd6 commit afe2b92

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎.github/workflows/rallocator-macos-checks.yml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,20 @@ jobs:
4545
fetch-depth: 0
4646
persist-credentials: false
4747

48+
- name: Bootstrap repository tooling
49+
uses: ./.github/actions/anvil-setup
50+
with:
51+
group: none
52+
53+
# Restore scoped binaries and their matching Cargo registry after the
54+
# shared bootstrap, which restores a different tool-cache generation.
4855
- name: Restore scoped check cache
4956
id: cache
5057
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
5158
with:
52-
key: macos-validation-v1-${{ matrix.runner }}-${{ matrix.check }}-${{ hashFiles('Cargo.lock', '.cargo/config.toml', 'justfiles/anvil/versions.just') }}-${{ github.sha }}
59+
key: macos-validation-v2-${{ matrix.runner }}-${{ matrix.check }}-${{ hashFiles('Cargo.lock', '.cargo/config.toml', 'justfiles/anvil/versions.just') }}-${{ github.sha }}
5360
restore-keys: |
54-
macos-validation-v1-${{ matrix.runner }}-${{ matrix.check }}-${{ hashFiles('Cargo.lock', '.cargo/config.toml', 'justfiles/anvil/versions.just') }}-
61+
macos-validation-v2-${{ matrix.runner }}-${{ matrix.check }}-${{ hashFiles('Cargo.lock', '.cargo/config.toml', 'justfiles/anvil/versions.just') }}-
5562
path: |
5663
~/.cargo/bin/
5764
~/.cargo/.crates.toml
@@ -63,11 +70,6 @@ jobs:
6370
~/.rustup/toolchains/nightly-2026-03-20-*/
6471
target/
6572
66-
- name: Bootstrap repository tooling
67-
uses: ./.github/actions/anvil-setup
68-
with:
69-
group: none
70-
7173
- name: Select explicit three-package validation scope
7274
run: |
7375
$ErrorActionPreference = 'Stop'

0 commit comments

Comments
 (0)