21
21
CARGO_TERM_COLOR: always
22
22
CARGO_INCREMENTAL: '0'
23
23
CARGO_PROFILE_DEV_DEBUG: '0'
24
- RUST_TOOLCHAIN_VERSION: "{[ rust_version }]"
25
24
RUSTFLAGS: "-D warnings"
26
25
RUSTDOCFLAGS: "-D warnings"
27
26
RUST_LOG: "info"
45
44
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
46
45
with:
47
46
submodules: recursive
48
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
47
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
49
48
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
50
49
with:
51
50
key: udeps
@@ -123,7 +122,7 @@ jobs:
123
122
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
124
123
with:
125
124
submodules: recursive
126
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
125
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
127
126
with:
128
127
components: rustfmt
129
128
- run: cargo fmt --all -- --check
@@ -140,7 +139,7 @@ jobs:
140
139
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
141
140
with:
142
141
submodules: recursive
143
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
142
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
144
143
with:
145
144
components: clippy
146
145
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
@@ -175,7 +174,7 @@ jobs:
175
174
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
176
175
with:
177
176
submodules: recursive
178
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
177
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
179
178
with:
180
179
components: rustfmt
181
180
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
@@ -196,7 +195,7 @@ jobs:
196
195
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
197
196
with:
198
197
submodules: recursive
199
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
198
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
200
199
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
201
200
with:
202
201
key: test
@@ -259,7 +258,7 @@ jobs:
259
258
with:
260
259
version: v3.13.3
261
260
- name: Set up cargo
262
- uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
261
+ uses: dtolnay/rust-toolchain@{[ rust_version }]
263
262
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
264
263
with:
265
264
key: charts
@@ -319,7 +318,7 @@ jobs:
319
318
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
320
319
with:
321
320
submodules: recursive
322
- - uses: dtolnay/rust-toolchain@${{ env.RUST_TOOLCHAIN_VERSION }}
321
+ - uses: dtolnay/rust-toolchain@{[ rust_version }]
323
322
with:
324
323
components: rustfmt
325
324
# This step checks if the current run was triggered by a push to a pr (or a pr being created).
0 commit comments