Skip to content

Commit

Permalink
Auto merge of #17239 - Veykril:metrics-caching, r=Veykril
Browse files Browse the repository at this point in the history
internal: Key ignoring the job-id in metrics cache
  • Loading branch information
bors committed May 15, 2024
2 parents 3864080 + b5fbde7 commit 98d768b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tools/rust-analyzer/.github/workflows/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Restore cargo cache
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
with:
key: ${{ runner.os }}-cargo-${{ github.sha }}
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
cache-targets: "false"

- name: Collect build metrics
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Cache target
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
with:
key: ${{ runner.os }}-cargo-${{ github.sha }}
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
cache-targets: "true"

- name: Upload build metrics
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Restore cargo cache
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
with:
key: ${{ runner.os }}-cargo-${{ github.sha }}
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
cache-targets: "true"

- name: Collect metrics
Expand Down

0 comments on commit 98d768b

Please sign in to comment.