70
70
steps :
71
71
- uses : actions/checkout@v3
72
72
73
- - uses : actions-rs/ toolchain@v1
73
+ - uses : dtolnay/rust- toolchain@nightly
74
74
with :
75
- profile : minimal
76
- toolchain : nightly
77
- override : true
78
75
components : rustfmt
79
76
80
77
- run : cargo fmt --all -- --check
86
83
steps :
87
84
- uses : actions/checkout@v3
88
85
89
- - uses : actions-rs/ toolchain@v1
86
+ - uses : dtolnay/rust- toolchain@stable
90
87
with :
91
- profile : minimal
92
- toolchain : stable
93
- override : true
94
88
components : clippy
95
89
96
90
- uses : Swatinem/rust-cache@v2
@@ -117,14 +111,15 @@ jobs:
117
111
runs-on : ubuntu-22.04
118
112
steps :
119
113
- uses : actions/checkout@v3
120
- - uses : actions-rs/toolchain@v1
114
+
115
+ - uses : dtolnay/rust-toolchain@master
121
116
with :
122
- profile : minimal
123
117
toolchain : " 1.60"
124
- override : true
118
+
125
119
- uses : Swatinem/rust-cache@v2
126
120
with :
127
121
workspaces : css-inline
122
+
128
123
- run : cargo build
129
124
working-directory : ./css-inline
130
125
@@ -140,11 +135,7 @@ jobs:
140
135
steps :
141
136
- uses : actions/checkout@v3
142
137
143
- - uses : actions-rs/toolchain@v1
144
- with :
145
- profile : minimal
146
- toolchain : stable
147
- override : true
138
+ - uses : dtolnay/rust-toolchain@stable
148
139
149
140
- uses : Swatinem/rust-cache@v2
150
141
with :
@@ -171,11 +162,7 @@ jobs:
171
162
steps :
172
163
- uses : actions/checkout@v3
173
164
174
- - uses : actions-rs/toolchain@v1
175
- with :
176
- profile : minimal
177
- toolchain : stable
178
- override : true
165
+ - uses : dtolnay/rust-toolchain@stable
179
166
180
167
- uses : Swatinem/rust-cache@v2
181
168
with :
@@ -198,11 +185,7 @@ jobs:
198
185
steps :
199
186
- uses : actions/checkout@v3
200
187
201
- - uses : actions-rs/toolchain@v1
202
- with :
203
- profile : minimal
204
- toolchain : stable
205
- override : true
188
+ - uses : dtolnay/rust-toolchain@stable
206
189
207
190
- uses : Swatinem/rust-cache@v2
208
191
with :
@@ -235,11 +218,7 @@ jobs:
235
218
steps :
236
219
- uses : actions/checkout@v3
237
220
238
- - uses : actions-rs/toolchain@v1
239
- with :
240
- profile : minimal
241
- toolchain : stable
242
- override : true
221
+ - uses : dtolnay/rust-toolchain@stable
243
222
244
223
- uses : Swatinem/rust-cache@v2
245
224
with :
@@ -257,11 +236,7 @@ jobs:
257
236
steps :
258
237
- uses : actions/checkout@v3
259
238
260
- - uses : actions-rs/toolchain@v1
261
- with :
262
- profile : minimal
263
- toolchain : stable
264
- override : true
239
+ - uses : dtolnay/rust-toolchain@stable
265
240
266
241
- uses : Swatinem/rust-cache@v2
267
242
with :
0 commit comments