2323 - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
2424 with :
2525 github_token : " ${{ secrets.github_token }}"
26+
2627 - name : Checkout
2728 uses : actions/checkout@v2.3.3
2829 with :
@@ -84,18 +85,11 @@ jobs:
8485 sudo apt-get install gcc-multilib libssl-dev:i386 libgit2-dev:i386
8586 if : matrix.host == 'i686-unknown-linux-gnu'
8687
87- - name : rust-toolchain
88- uses : actions-rs/toolchain@v1.0.6
89- with :
90- toolchain : nightly
91- target : ${{ matrix.host }}
92- profile : minimal
93-
9488 - name : Checkout
9589 uses : actions/checkout@v2.3.3
9690
97- - name : Run cargo update
98- run : cargo update
91+ - name : Install toolchain
92+ run : rustup show active-toolchain
9993
10094 - name : Cache cargo dir
10195 uses : actions/cache@v2
@@ -153,7 +147,7 @@ jobs:
153147 # Cleanup
154148 - name : Run cargo-cache --autoclean
155149 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
157151 cargo cache
158152
159153 integration_build :
@@ -166,18 +160,11 @@ jobs:
166160 with :
167161 github_token : " ${{ secrets.github_token }}"
168162
169- - name : rust-toolchain
170- uses : actions-rs/toolchain@v1.0.6
171- with :
172- toolchain : nightly
173- target : x86_64-unknown-linux-gnu
174- profile : minimal
175-
176163 - name : Checkout
177164 uses : actions/checkout@v2.3.3
178165
179- - name : Run cargo update
180- run : cargo update
166+ - name : Install toolchain
167+ run : rustup show active-toolchain
181168
182169 - name : Cache cargo dir
183170 uses : actions/cache@v2
@@ -209,7 +196,7 @@ jobs:
209196 # Cleanup
210197 - name : Run cargo-cache --autoclean
211198 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
213200 cargo cache
214201 integration :
215202 needs : integration_build
@@ -244,18 +231,11 @@ jobs:
244231 with :
245232 github_token : " ${{ secrets.github_token }}"
246233
247- - name : rust-toolchain
248- uses : actions-rs/toolchain@v1.0.6
249- with :
250- toolchain : nightly
251- target : x86_64-unknown-linux-gnu
252- profile : minimal
253-
254234 - name : Checkout
255235 uses : actions/checkout@v2.3.3
256236
257- - name : Run cargo update
258- run : cargo update
237+ - name : Install toolchain
238+ run : rustup show active-toolchain
259239
260240 - name : Cache cargo dir
261241 uses : actions/cache@v2
@@ -285,7 +265,7 @@ jobs:
285265 # Cleanup
286266 - name : Run cargo-cache --autoclean
287267 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
289269 cargo cache
290270
291271 # These jobs doesn't actually test anything, but they're only used to tell
0 commit comments