91
91
- name : Install toolchain
92
92
run : rustup show active-toolchain
93
93
94
- - name : Cache cargo dir
95
- uses : actions/cache@v2
96
- with :
97
- path : ~/.cargo
98
- key : ${{ runner.os }}-${{ matrix.host }}-v2-${{ hashFiles('Cargo.lock') }}
99
- restore-keys : |
100
- ${{ runner.os }}-${{ matrix.host }}
101
-
102
94
# Run
103
95
- name : Set LD_LIBRARY_PATH (Linux)
104
96
if : runner.os == 'Linux'
@@ -144,12 +136,6 @@ jobs:
144
136
env :
145
137
OS : ${{ runner.os }}
146
138
147
- # Cleanup
148
- - name : Run cargo-cache --autoclean
149
- run : |
150
- cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
151
- cargo cache
152
-
153
139
integration_build :
154
140
needs : changelog
155
141
runs-on : ubuntu-latest
@@ -166,14 +152,6 @@ jobs:
166
152
- name : Install toolchain
167
153
run : rustup show active-toolchain
168
154
169
- - name : Cache cargo dir
170
- uses : actions/cache@v2
171
- with :
172
- path : ~/.cargo
173
- key : ${{ runner.os }}-x86_64-unknown-linux-gnu-v2-${{ hashFiles('Cargo.lock') }}
174
- restore-keys : |
175
- ${{ runner.os }}-x86_64-unknown-linux-gnu
176
-
177
155
# Run
178
156
- name : Build Integration Test
179
157
run : cargo test --test integration --features integration --no-run
@@ -193,11 +171,6 @@ jobs:
193
171
name : target
194
172
path : target
195
173
196
- # Cleanup
197
- - name : Run cargo-cache --autoclean
198
- run : |
199
- cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
200
- cargo cache
201
174
integration :
202
175
needs : integration_build
203
176
strategy :
@@ -237,14 +210,6 @@ jobs:
237
210
- name : Install toolchain
238
211
run : rustup show active-toolchain
239
212
240
- - name : Cache cargo dir
241
- uses : actions/cache@v2
242
- with :
243
- path : ~/.cargo
244
- key : ${{ runner.os }}-x86_64-unknown-linux-gnu-v2-${{ hashFiles('Cargo.lock') }}
245
- restore-keys : |
246
- ${{ runner.os }}-x86_64-unknown-linux-gnu
247
-
248
213
# Download
249
214
- name : Download target dir
250
215
uses : actions/download-artifact@v1
@@ -262,12 +227,6 @@ jobs:
262
227
INTEGRATION : ${{ matrix.integration }}
263
228
RUSTUP_TOOLCHAIN : master
264
229
265
- # Cleanup
266
- - name : Run cargo-cache --autoclean
267
- run : |
268
- cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
269
- cargo cache
270
-
271
230
# These jobs doesn't actually test anything, but they're only used to tell
272
231
# bors the build completed, as there is no practical way to detect when a
273
232
# workflow is successful listening to webhooks only.
0 commit comments