File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
11
11
env :
12
12
RUST_BACKTRACE : 1
13
+ RUST_CACHE_KEY : rust-cache-20240229
13
14
DOCSRS_PREFIX : ignored/cratesfyi-prefix
14
15
DOCSRS_DATABASE_URL : postgresql://cratesfyi:password@localhost:15432
15
16
DOCSRS_LOG : docs_rs=debug,rustwide=info
36
37
- name : restore build & cargo cache
37
38
uses : Swatinem/rust-cache@v2
38
39
with :
39
- prefix-key : " rust-cache-20231109 "
40
+ prefix-key : ${{ env.RUST_CACHE_KEY }}
40
41
41
42
- name : Build
42
43
run : cargo build --workspace --locked
84
85
- name : restore build & cargo cache
85
86
uses : Swatinem/rust-cache@v2
86
87
with :
87
- prefix-key : " rust-cache-20240201 "
88
+ prefix-key : ${{ env.RUST_CACHE_KEY }}
88
89
89
90
- name : Build
90
91
run : cargo build --workspace --locked
@@ -123,6 +124,8 @@ jobs:
123
124
124
125
- name : restore build & cargo cache
125
126
uses : Swatinem/rust-cache@v2
127
+ with :
128
+ prefix-key : ${{ env.RUST_CACHE_KEY }}
126
129
127
130
- name : Launch postgres and min.io
128
131
run : |
@@ -171,5 +174,7 @@ jobs:
171
174
172
175
- name : restore build & cargo cache
173
176
uses : Swatinem/rust-cache@v2
177
+ with :
178
+ prefix-key : ${{ env.RUST_CACHE_KEY }}
174
179
175
180
- run : just lint
You can’t perform that action at this time.
0 commit comments