Skip to content

Commit 27e6701

Browse files
iglocskaclaude
andcommitted
fix: [ci] Use specific Cargo.toml path for cache key hash
The ** glob in hashFiles fails on the runner workspace. Use the direct path instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b7cf264 commit 27e6701

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
~/.cargo/registry
2424
~/.cargo/git
2525
target
26-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
26+
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }}
2727
restore-keys: ${{ runner.os }}-cargo-
2828

2929
- name: Build
@@ -82,7 +82,7 @@ jobs:
8282
~/.cargo/registry
8383
~/.cargo/git
8484
target
85-
key: ${{ runner.os }}-cargo-integ-${{ hashFiles('**/Cargo.toml') }}
85+
key: ${{ runner.os }}-cargo-integ-${{ hashFiles('Cargo.toml') }}
8686
restore-keys: ${{ runner.os }}-cargo-integ-
8787

8888
- name: Build integration tests

0 commit comments

Comments
 (0)