28
28
CARGO_PROFILE_DEV_DEBUG: '0'
29
29
RUST_TOOLCHAIN_VERSION: "{[ rust_version }]"
30
30
RUST_NIGHTLY_TOOLCHAIN_VERSION: "{[ rust_nightly_version }]"
31
+ RUSTUP_VERSION: "{[ rustup_version }]"
31
32
PYTHON_VERSION: "{[ python_version }]"
32
33
RUSTFLAGS: "-D warnings"
33
34
RUSTDOCFLAGS: "-D warnings"
53
54
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
54
55
with:
55
56
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
57
+ rustup-version: ${{ env.RUSTUP_VERSION }}
56
58
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
57
59
with:
58
60
key: udeps
@@ -129,6 +131,7 @@ jobs:
129
131
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
130
132
with:
131
133
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
134
+ rustup-version: ${{ env.RUSTUP_VERSION }}
132
135
components: rustfmt
133
136
- env:
134
137
RUST_TOOLCHAIN_VERSION: ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
@@ -150,6 +153,7 @@ jobs:
150
153
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
151
154
with:
152
155
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
156
+ rustup-version: ${{ env.RUSTUP_VERSION }}
153
157
components: clippy
154
158
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
155
159
with:
@@ -188,6 +192,7 @@ jobs:
188
192
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
189
193
with:
190
194
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
195
+ rustup-version: ${{ env.RUSTUP_VERSION }}
191
196
components: rustfmt
192
197
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
193
198
with:
@@ -212,6 +217,7 @@ jobs:
212
217
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
213
218
with:
214
219
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
220
+ rustup-version: ${{ env.RUSTUP_VERSION }}
215
221
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
216
222
with:
217
223
key: test
@@ -277,6 +283,7 @@ jobs:
277
283
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
278
284
with:
279
285
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
286
+ rustup-version: ${{ env.RUSTUP_VERSION }}
280
287
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
281
288
with:
282
289
key: charts
@@ -344,6 +351,7 @@ jobs:
344
351
- uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
345
352
with:
346
353
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
354
+ rustup-version: ${{ env.RUSTUP_VERSION }}
347
355
components: rustfmt
348
356
# This step checks if the current run was triggered by a push to a pr (or a pr being created).
349
357
# If this is the case it changes the version of this project in all Cargo.toml files to include the suffix
0 commit comments