23
23
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
24
24
with :
25
25
github_token : " ${{ secrets.github_token }}"
26
+
26
27
- name : Checkout
27
28
28
29
with :
@@ -84,18 +85,11 @@ jobs:
84
85
sudo apt-get install gcc-multilib libssl-dev:i386 libgit2-dev:i386
85
86
if : matrix.host == 'i686-unknown-linux-gnu'
86
87
87
- - name : rust-toolchain
88
- uses :
actions-rs/[email protected]
89
- with :
90
- toolchain : nightly
91
- target : ${{ matrix.host }}
92
- profile : minimal
93
-
94
88
- name : Checkout
95
89
96
90
97
- - name : Run cargo update
98
- run : cargo update
91
+ - name : Install toolchain
92
+ run : rustup show active-toolchain
99
93
100
94
- name : Cache cargo dir
101
95
uses : actions/cache@v2
@@ -153,7 +147,7 @@ jobs:
153
147
# Cleanup
154
148
- name : Run cargo-cache --autoclean
155
149
run : |
156
- cargo +nightly install cargo-cache --no-default-features --features ci-autoclean cargo-cache
150
+ cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
157
151
cargo cache
158
152
159
153
integration_build :
@@ -166,18 +160,11 @@ jobs:
166
160
with :
167
161
github_token : " ${{ secrets.github_token }}"
168
162
169
- - name : rust-toolchain
170
- uses :
actions-rs/[email protected]
171
- with :
172
- toolchain : nightly
173
- target : x86_64-unknown-linux-gnu
174
- profile : minimal
175
-
176
163
- name : Checkout
177
164
178
165
179
- - name : Run cargo update
180
- run : cargo update
166
+ - name : Install toolchain
167
+ run : rustup show active-toolchain
181
168
182
169
- name : Cache cargo dir
183
170
uses : actions/cache@v2
@@ -209,7 +196,7 @@ jobs:
209
196
# Cleanup
210
197
- name : Run cargo-cache --autoclean
211
198
run : |
212
- cargo +nightly install cargo-cache --no-default-features --features ci-autoclean cargo-cache
199
+ cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
213
200
cargo cache
214
201
integration :
215
202
needs : integration_build
@@ -244,18 +231,11 @@ jobs:
244
231
with :
245
232
github_token : " ${{ secrets.github_token }}"
246
233
247
- - name : rust-toolchain
248
- uses :
actions-rs/[email protected]
249
- with :
250
- toolchain : nightly
251
- target : x86_64-unknown-linux-gnu
252
- profile : minimal
253
-
254
234
- name : Checkout
255
235
256
236
257
- - name : Run cargo update
258
- run : cargo update
237
+ - name : Install toolchain
238
+ run : rustup show active-toolchain
259
239
260
240
- name : Cache cargo dir
261
241
uses : actions/cache@v2
@@ -285,7 +265,7 @@ jobs:
285
265
# Cleanup
286
266
- name : Run cargo-cache --autoclean
287
267
run : |
288
- cargo +nightly install cargo-cache --no-default-features --features ci-autoclean cargo-cache
268
+ cargo install cargo-cache --no-default-features --features ci-autoclean cargo-cache
289
269
cargo cache
290
270
291
271
# These jobs doesn't actually test anything, but they're only used to tell
0 commit comments