1111 name : Check doc
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515 - name : Install toolchain
16- uses : actions-rs/toolchain@v1
17- with :
18- profile : minimal
19- toolchain : nightly
20- override : true
16+ uses : dtolnay/rust-toolchain@nightly
2117 - run : cargo install cargo-deadlinks
2218 - name : doc (rand)
2319 env :
@@ -58,14 +54,12 @@ jobs:
5854 variant : minimal_versions
5955
6056 steps :
61- - uses : actions/checkout@v2
57+ - uses : actions/checkout@v3
6258 - name : Install toolchain
63- uses : actions-rs/ toolchain@v1
59+ uses : dtolnay/rust- toolchain@master
6460 with :
65- profile : minimal
6661 target : ${{ matrix.target }}
6762 toolchain : ${{ matrix.toolchain }}
68- override : true
6963 - run : ${{ matrix.deps }}
7064 - name : Maybe minimal versions
7165 if : ${{ matrix.variant == 'minimal_versions' }}
@@ -113,16 +107,14 @@ jobs:
113107 toolchain : stable
114108
115109 steps :
116- - uses : actions/checkout@v2
110+ - uses : actions/checkout@v3
117111 - name : Install toolchain
118- uses : actions-rs/ toolchain@v1
112+ uses : dtolnay/rust- toolchain@master
119113 with :
120- profile : minimal
121114 target : ${{ matrix.target }}
122115 toolchain : ${{ matrix.toolchain }}
123- override : true
124116 - name : Cache cargo plugins
125- uses : actions/cache@v1
117+ uses : actions/cache@v3
126118 with :
127119 path : ~/.cargo/bin/
128120 key : ${{ runner.os }}-cargo-plugins
@@ -141,7 +133,7 @@ jobs:
141133 test-miri :
142134 runs-on : ubuntu-latest
143135 steps :
144- - uses : actions/checkout@v2
136+ - uses : actions/checkout@v3
145137 - name : Install toolchain
146138 run : |
147139 rustup toolchain install nightly --component miri
@@ -161,41 +153,33 @@ jobs:
161153 test-no-std :
162154 runs-on : ubuntu-latest
163155 steps :
164- - uses : actions/checkout@v2
156+ - uses : actions/checkout@v3
165157 - name : Install toolchain
166- uses : actions-rs/ toolchain@v1
158+ uses : dtolnay/rust- toolchain@nightly
167159 with :
168- profile : minimal
169- toolchain : nightly
170160 target : thumbv6m-none-eabi
171- override : true
172161 - name : Build top-level only
173162 run : cargo build --target=thumbv6m-none-eabi --no-default-features
174163
175164 test-avr :
176165 runs-on : ubuntu-latest
177166 steps :
178- - uses : actions/checkout@v2
167+ - uses : actions/checkout@v3
179168 - name : Install toolchain
180- uses : actions-rs/ toolchain@v1
169+ uses : dtolnay/rust- toolchain@master
181170 with :
182- profile : minimal
183171 toolchain : nightly-2021-01-07 # Pinned compiler version due to https://github.com/rust-lang/compiler-builtins/issues/400
184172 components : rust-src
185- override : true
186173 - name : Build top-level only
187174 run : cargo build -Z build-std=core --target=avr-unknown-gnu-atmega328 --no-default-features
188175
189176 test-ios :
190177 runs-on : macos-latest
191178 steps :
192- - uses : actions/checkout@v2
179+ - uses : actions/checkout@v3
193180 - name : Install toolchain
194- uses : actions-rs/ toolchain@v1
181+ uses : dtolnay/rust- toolchain@nightly
195182 with :
196- profile : minimal
197- toolchain : nightly
198183 target : aarch64-apple-ios
199- override : true
200184 - name : Build top-level only
201185 run : cargo build --target=aarch64-apple-ios
0 commit comments