21
21
CARGO_TERM_COLOR : always
22
22
CARGO_INCREMENTAL : ' 0'
23
23
CARGO_PROFILE_DEV_DEBUG : ' 0'
24
+ RUST_TOOLCHAIN_VERSION : " 1.75.0"
24
25
RUSTFLAGS : " -D warnings"
25
26
RUSTDOCFLAGS : " -D warnings"
26
27
RUST_LOG : " info"
44
45
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
45
46
with :
46
47
submodules : recursive
47
-
48
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
49
+ with :
50
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
48
51
- uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
49
52
with :
50
53
key : udeps
@@ -122,8 +125,9 @@ jobs:
122
125
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
123
126
with :
124
127
submodules : recursive
125
- - uses : dtolnay/rust-toolchain@1.74.0
128
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
126
129
with :
130
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
127
131
components : rustfmt
128
132
- run : cargo fmt --all -- --check
129
133
@@ -139,8 +143,9 @@ jobs:
139
143
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
140
144
with :
141
145
submodules : recursive
142
- - uses : dtolnay/rust-toolchain@1.74.0
146
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
143
147
with :
148
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
144
149
components : clippy
145
150
- uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
146
151
with :
@@ -174,8 +179,9 @@ jobs:
174
179
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
175
180
with :
176
181
submodules : recursive
177
- - uses : dtolnay/rust-toolchain@1.74.0
182
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
178
183
with :
184
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
179
185
components : rustfmt
180
186
- uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
181
187
with :
@@ -195,7 +201,9 @@ jobs:
195
201
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
196
202
with :
197
203
submodules : recursive
198
-
204
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
205
+ with :
206
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
199
207
- uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
200
208
with :
201
209
key : test
@@ -258,7 +266,9 @@ jobs:
258
266
with :
259
267
version : v3.13.3
260
268
- name : Set up cargo
261
-
269
+ uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
270
+ with :
271
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
262
272
- uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
263
273
with :
264
274
key : charts
@@ -318,8 +328,9 @@ jobs:
318
328
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
319
329
with :
320
330
submodules : recursive
321
- - uses : dtolnay/rust-toolchain@1.74.0
331
+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
322
332
with :
333
+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
323
334
components : rustfmt
324
335
# This step checks if the current run was triggered by a push to a pr (or a pr being created).
325
336
# If this is the case it changes the version of this project in all Cargo.toml files to include the suffix
0 commit comments