Skip to content

Commit d3ced33

Browse files
committed
review: remove .github/workflows/rust.yml from cache keys.
Signed-off-by: Piotr Sikora <[email protected]>
1 parent c7b904b commit d3ced33

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
~/.cargo/registry
120120
~/.rustup
121121
**/target
122-
key: msrv-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
122+
key: msrv-${{ hashFiles('Cargo.toml') }}
123123

124124
- name: Install dependencies
125125
if: ${{ env.ACT }}
@@ -182,7 +182,7 @@ jobs:
182182
~/.cargo/registry
183183
~/.rustup
184184
**/target
185-
key: stable-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
185+
key: stable-${{ hashFiles('Cargo.toml') }}
186186

187187
- name: Install dependencies
188188
if: ${{ env.ACT }}
@@ -244,7 +244,7 @@ jobs:
244244
~/.cargo/registry
245245
~/.rustup
246246
**/target
247-
key: nightly-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
247+
key: nightly-${{ hashFiles('Cargo.toml') }}
248248

249249
- name: Install dependencies
250250
if: ${{ env.ACT }}
@@ -303,7 +303,7 @@ jobs:
303303
~/.cargo/bin
304304
~/.cargo/registry
305305
~/.rustup
306-
key: outdated-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
306+
key: outdated-${{ hashFiles('Cargo.toml') }}
307307

308308
- name: Install dependencies
309309
if: ${{ env.ACT }}
@@ -336,7 +336,7 @@ jobs:
336336
~/.cargo/bin
337337
~/.cargo/registry
338338
~/.rustup
339-
key: audit-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
339+
key: audit-${{ hashFiles('Cargo.toml') }}
340340

341341
- name: Install dependencies
342342
if: ${{ env.ACT }}
@@ -389,7 +389,7 @@ jobs:
389389
~/.cargo/registry
390390
~/.rustup
391391
**/target
392-
key: example-${{ matrix.example }}-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
392+
key: example-${{ matrix.example }}-${{ hashFiles('Cargo.toml') }}
393393

394394
- name: Install dependencies
395395
if: ${{ env.ACT }}
@@ -467,7 +467,7 @@ jobs:
467467
~/.cargo/registry
468468
~/.rustup
469469
**/target
470-
key: reactor-${{ matrix.example }}-${{ hashFiles('.github/workflows/rust.yml', 'Cargo.toml') }}
470+
key: reactor-${{ matrix.example }}-${{ hashFiles('Cargo.toml') }}
471471

472472
- name: Install dependencies
473473
if: ${{ env.ACT }}

0 commit comments

Comments
 (0)