mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Auto merge of #17239 - Veykril:metrics-caching, r=Veykril
internal: Key ignoring the job-id in metrics cache
This commit is contained in:
commit
9bc68735aa
6
.github/workflows/metrics.yaml
vendored
6
.github/workflows/metrics.yaml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: Restore cargo cache
|
- name: Restore cargo cache
|
||||||
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-cargo-${{ github.sha }}
|
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
|
||||||
cache-targets: "false"
|
cache-targets: "false"
|
||||||
|
|
||||||
- name: Collect build metrics
|
- name: Collect build metrics
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
- name: Cache target
|
- name: Cache target
|
||||||
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-cargo-${{ github.sha }}
|
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
|
||||||
cache-targets: "true"
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Upload build metrics
|
- name: Upload build metrics
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
- name: Restore cargo cache
|
- name: Restore cargo cache
|
||||||
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-cargo-${{ github.sha }}
|
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
|
||||||
cache-targets: "true"
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Collect metrics
|
- name: Collect metrics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user