Skip to content

Commit d0d0617

Browse files
committed
purge CI rust-cache
1 parent 70b46ac commit d0d0617

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: .github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
RUST_BACKTRACE: 1
13+
RUST_CACHE_KEY: rust-cache-20240229
1314
DOCSRS_PREFIX: ignored/cratesfyi-prefix
1415
DOCSRS_DATABASE_URL: postgresql://cratesfyi:password@localhost:15432
1516
DOCSRS_LOG: docs_rs=debug,rustwide=info
@@ -36,7 +37,7 @@ jobs:
3637
- name: restore build & cargo cache
3738
uses: Swatinem/rust-cache@v2
3839
with:
39-
prefix-key: "rust-cache-20231109"
40+
prefix-key: ${{ env.RUST_CACHE_KEY }}
4041

4142
- name: Build
4243
run: cargo build --workspace --locked
@@ -84,7 +85,7 @@ jobs:
8485
- name: restore build & cargo cache
8586
uses: Swatinem/rust-cache@v2
8687
with:
87-
prefix-key: "rust-cache-20240201"
88+
prefix-key: ${{ env.RUST_CACHE_KEY }}
8889

8990
- name: Build
9091
run: cargo build --workspace --locked
@@ -123,6 +124,8 @@ jobs:
123124
124125
- name: restore build & cargo cache
125126
uses: Swatinem/rust-cache@v2
127+
with:
128+
prefix-key: ${{ env.RUST_CACHE_KEY }}
126129

127130
- name: Launch postgres and min.io
128131
run: |
@@ -171,5 +174,7 @@ jobs:
171174

172175
- name: restore build & cargo cache
173176
uses: Swatinem/rust-cache@v2
177+
with:
178+
prefix-key: ${{ env.RUST_CACHE_KEY }}
174179

175180
- run: just lint

0 commit comments

Comments
 (0)