11
11
name : Check doc
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
- 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
21
17
- run : cargo install cargo-deadlinks
22
18
- name : doc (rand)
23
19
env :
@@ -58,14 +54,12 @@ jobs:
58
54
variant : minimal_versions
59
55
60
56
steps :
61
- - uses : actions/checkout@v2
57
+ - uses : actions/checkout@v3
62
58
- name : Install toolchain
63
- uses : actions-rs/ toolchain@v1
59
+ uses : dtolnay/rust- toolchain@master
64
60
with :
65
- profile : minimal
66
61
target : ${{ matrix.target }}
67
62
toolchain : ${{ matrix.toolchain }}
68
- override : true
69
63
- run : ${{ matrix.deps }}
70
64
- name : Maybe minimal versions
71
65
if : ${{ matrix.variant == 'minimal_versions' }}
@@ -113,16 +107,14 @@ jobs:
113
107
toolchain : stable
114
108
115
109
steps :
116
- - uses : actions/checkout@v2
110
+ - uses : actions/checkout@v3
117
111
- name : Install toolchain
118
- uses : actions-rs/ toolchain@v1
112
+ uses : dtolnay/rust- toolchain@master
119
113
with :
120
- profile : minimal
121
114
target : ${{ matrix.target }}
122
115
toolchain : ${{ matrix.toolchain }}
123
- override : true
124
116
- name : Cache cargo plugins
125
- uses : actions/cache@v1
117
+ uses : actions/cache@v3
126
118
with :
127
119
path : ~/.cargo/bin/
128
120
key : ${{ runner.os }}-cargo-plugins
@@ -141,7 +133,7 @@ jobs:
141
133
test-miri :
142
134
runs-on : ubuntu-latest
143
135
steps :
144
- - uses : actions/checkout@v2
136
+ - uses : actions/checkout@v3
145
137
- name : Install toolchain
146
138
run : |
147
139
rustup toolchain install nightly --component miri
@@ -161,41 +153,33 @@ jobs:
161
153
test-no-std :
162
154
runs-on : ubuntu-latest
163
155
steps :
164
- - uses : actions/checkout@v2
156
+ - uses : actions/checkout@v3
165
157
- name : Install toolchain
166
- uses : actions-rs/ toolchain@v1
158
+ uses : dtolnay/rust- toolchain@nightly
167
159
with :
168
- profile : minimal
169
- toolchain : nightly
170
160
target : thumbv6m-none-eabi
171
- override : true
172
161
- name : Build top-level only
173
162
run : cargo build --target=thumbv6m-none-eabi --no-default-features
174
163
175
164
test-avr :
176
165
runs-on : ubuntu-latest
177
166
steps :
178
- - uses : actions/checkout@v2
167
+ - uses : actions/checkout@v3
179
168
- name : Install toolchain
180
- uses : actions-rs/ toolchain@v1
169
+ uses : dtolnay/rust- toolchain@master
181
170
with :
182
- profile : minimal
183
171
toolchain : nightly-2021-01-07 # Pinned compiler version due to https://github.com/rust-lang/compiler-builtins/issues/400
184
172
components : rust-src
185
- override : true
186
173
- name : Build top-level only
187
174
run : cargo build -Z build-std=core --target=avr-unknown-gnu-atmega328 --no-default-features
188
175
189
176
test-ios :
190
177
runs-on : macos-latest
191
178
steps :
192
- - uses : actions/checkout@v2
179
+ - uses : actions/checkout@v3
193
180
- name : Install toolchain
194
- uses : actions-rs/ toolchain@v1
181
+ uses : dtolnay/rust- toolchain@nightly
195
182
with :
196
- profile : minimal
197
- toolchain : nightly
198
183
target : aarch64-apple-ios
199
- override : true
200
184
- name : Build top-level only
201
185
run : cargo build --target=aarch64-apple-ios
0 commit comments