Skip to content

Commit efece4f

Browse files
committed
Avoid duplication in cache names/create less confusing Rust cache names
1 parent 9a22abc commit efece4f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/push.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: Rust Cache
106106
uses: Swatinem/[email protected]
107107
with:
108-
shared-key: rust-lint
108+
shared-key: lint
109109
save-if: ${{ github.ref == 'refs/heads/master' }}
110110
- run: cargo fmt --check --all
111111
- run: cargo check --workspace --all-targets
@@ -127,7 +127,7 @@ jobs:
127127
- name: Rust Cache
128128
uses: Swatinem/[email protected]
129129
with:
130-
shared-key: rust-but-binary
130+
shared-key: but-binary
131131
save-if: ${{ github.ref == 'refs/heads/master' }}
132132
- run: |
133133
sudo apt update
@@ -149,7 +149,7 @@ jobs:
149149
- name: Rust Cache
150150
uses: Swatinem/[email protected]
151151
with:
152-
shared-key: rust-docs
152+
shared-key: docs
153153
save-if: ${{ github.ref == 'refs/heads/master' }}
154154
- run: cargo doc --no-deps --all-features --document-private-items -p gitbutler-git
155155
env:
@@ -185,7 +185,7 @@ jobs:
185185
- name: Rust Cache
186186
uses: Swatinem/[email protected]
187187
with:
188-
shared-key: rust-testing
188+
shared-key: cargo-test
189189
save-if: ${{ github.ref == 'refs/heads/master' }}
190190
- run: |
191191
cargo test --workspace
@@ -213,7 +213,7 @@ jobs:
213213
- name: Rust Cache
214214
uses: Swatinem/[email protected]
215215
with:
216-
shared-key: rust-testing
216+
shared-key: cargo-test
217217
save-if: ${{ github.ref == 'refs/heads/master' }}
218218
- name: 'cargo check'
219219
run: cargo check --workspace --all-targets --features windows

.github/workflows/test-e2e-playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Rust Cache
4040
uses: Swatinem/[email protected]
4141
with:
42-
shared-key: rust-but-server-gitbutler-git-but-testing-binary
42+
shared-key: e2e-playwright-rust-binaries
4343
save-if: ${{ github.ref == 'refs/heads/master' }}
4444
- name: Preset Git Configuration and but-testing location
4545
run: |

0 commit comments

Comments
 (0)