|
93 | 93 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
94 | 94 | id: tool-cache
|
95 | 95 | with:
|
96 |
| - path: '~/**/_tool' |
| 96 | + path: ~/**/_tool |
97 | 97 | # We don't have an easy way to clear old tool versions, but there aren't many tools
|
98 | 98 | # (or versions), so just reset when we upgrade the compiler.
|
99 | 99 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
@@ -164,7 +164,7 @@ jobs:
|
164 | 164 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
165 | 165 | with:
|
166 | 166 | # Clippy has no build artifacts, so we can save the whole target directory
|
167 |
| - path: './target' |
| 167 | + path: ./target |
168 | 168 | # There's no point in restoring deps from older compiler versions, because they won't be
|
169 | 169 | # used. To stop the cache from growing too large, we also reset it whenever any direct
|
170 | 170 | # dependency version changes.
|
@@ -216,7 +216,7 @@ jobs:
|
216 | 216 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
217 | 217 | id: tool-cache
|
218 | 218 | with:
|
219 |
| - path: '~/**/_tool' |
| 219 | + path: ~/**/_tool |
220 | 220 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
221 | 221 |
|
222 | 222 | - name: Install Protoc
|
@@ -293,7 +293,7 @@ jobs:
|
293 | 293 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
294 | 294 | id: tool-cache
|
295 | 295 | with:
|
296 |
| - path: '~/**/_tool' |
| 296 | + path: ~/**/_tool |
297 | 297 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
298 | 298 |
|
299 | 299 | - name: Install Protoc
|
@@ -326,13 +326,13 @@ jobs:
|
326 | 326 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
327 | 327 | with:
|
328 | 328 | path: |
|
329 |
| - './target/.rustc_info.json' |
330 |
| - './target/cxxbridge' |
331 |
| - './target/debug/build' |
332 |
| - './target/debug/deps' |
333 |
| - './target/debug/examples' |
334 |
| - './target/debug/incremental' |
335 |
| - './target/nextest' |
| 329 | + ./target/.rustc_info.json |
| 330 | + ./target/cxxbridge |
| 331 | + ./target/debug/build |
| 332 | + ./target/debug/deps |
| 333 | + ./target/debug/examples |
| 334 | + ./target/debug/incremental |
| 335 | + ./target/nextest |
336 | 336 | key: ${{ runner.os }}-${{ github.job }}-target-${{ hashFiles('./Cargo.toml') }}-${{ hashFiles('./rust-toolchain.toml') }}
|
337 | 337 | if: runner.os == 'macOS'
|
338 | 338 |
|
@@ -364,7 +364,7 @@ jobs:
|
364 | 364 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
365 | 365 | id: tool-cache
|
366 | 366 | with:
|
367 |
| - path: '~/**/_tool' |
| 367 | + path: ~/**/_tool |
368 | 368 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
369 | 369 |
|
370 | 370 | - name: Install Protoc
|
@@ -408,7 +408,7 @@ jobs:
|
408 | 408 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
409 | 409 | id: tool-cache
|
410 | 410 | with:
|
411 |
| - path: '~/**/_tool' |
| 411 | + path: ~/**/_tool |
412 | 412 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
413 | 413 |
|
414 | 414 | - name: Install Protoc
|
@@ -451,7 +451,7 @@ jobs:
|
451 | 451 | uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
452 | 452 | id: tool-cache
|
453 | 453 | with:
|
454 |
| - path: '~/**/_tool' |
| 454 | + path: ~/**/_tool |
455 | 455 | key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
|
456 | 456 |
|
457 | 457 | - name: Install Protoc
|
|
0 commit comments