Compare commits
No commits in common. "9429ca100ac19544df79458eb1b57555dd139f27" and "d002d44a2ba8b66d7614180f26f21c0d15e30c32" have entirely different histories.
9429ca100a
...
d002d44a2b
1 changed files with 13 additions and 9 deletions
|
|
@ -24,6 +24,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ runner.os }}-
|
||||
|
|
@ -32,11 +33,10 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/sccache
|
||||
# Keyed to Cargo.lock, not github.run_id: a per-run key never
|
||||
# gets an exact hit, so actions/cache re-uploads the full
|
||||
# sccache dir on every single run even when nothing changed.
|
||||
# This still refreshes whenever dependencies bump.
|
||||
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
# Not keyed to Cargo.lock: sccache caches individual compiler
|
||||
# invocations by content hash, so it should accumulate across
|
||||
# dependency bumps rather than reset like the target/ cache above.
|
||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
sccache-${{ runner.os }}-
|
||||
|
||||
|
|
@ -54,6 +54,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ runner.os }}-
|
||||
|
|
@ -62,7 +63,7 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/sccache
|
||||
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
sccache-${{ runner.os }}-
|
||||
|
||||
|
|
@ -80,6 +81,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ runner.os }}-
|
||||
|
|
@ -88,7 +90,7 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/sccache
|
||||
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
sccache-${{ runner.os }}-
|
||||
|
||||
|
|
@ -113,6 +115,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ runner.os }}-
|
||||
|
|
@ -121,7 +124,7 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/sccache
|
||||
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
sccache-${{ runner.os }}-
|
||||
|
||||
|
|
@ -140,6 +143,7 @@ jobs:
|
|||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ runner.os }}-
|
||||
|
|
@ -148,7 +152,7 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /root/.cache/sccache
|
||||
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: sccache-${{ runner.os }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
sccache-${{ runner.os }}-
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue