2121 CARGO_TERM_COLOR : always
2222 CARGO_INCREMENTAL : ' 0'
2323 CARGO_PROFILE_DEV_DEBUG : ' 0'
24+ RUST_TOOLCHAIN_VERSION : " 1.75.0"
2425 RUSTFLAGS : " -D warnings"
2526 RUSTDOCFLAGS : " -D warnings"
2627 RUST_LOG : " info"
4445 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4546 with :
4647 submodules : recursive
47- 48+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
49+ with :
50+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
4851 - uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
4952 with :
5053 key : udeps
@@ -122,8 +125,9 @@ jobs:
122125 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
123126 with :
124127 submodules : recursive
125- - uses : dtolnay/rust-toolchain@1.74.0
128+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
126129 with :
130+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
127131 components : rustfmt
128132 - run : cargo fmt --all -- --check
129133
@@ -139,8 +143,9 @@ jobs:
139143 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
140144 with :
141145 submodules : recursive
142- - uses : dtolnay/rust-toolchain@1.74.0
146+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
143147 with :
148+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
144149 components : clippy
145150 - uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
146151 with :
@@ -174,8 +179,9 @@ jobs:
174179 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
175180 with :
176181 submodules : recursive
177- - uses : dtolnay/rust-toolchain@1.74.0
182+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
178183 with :
184+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
179185 components : rustfmt
180186 - uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
181187 with :
@@ -195,7 +201,9 @@ jobs:
195201 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
196202 with :
197203 submodules : recursive
198- 204+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
205+ with :
206+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
199207 - uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
200208 with :
201209 key : test
@@ -258,7 +266,9 @@ jobs:
258266 with :
259267 version : v3.13.3
260268 - name : Set up cargo
261- 269+ uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
270+ with :
271+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
262272 - uses : Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
263273 with :
264274 key : charts
@@ -318,8 +328,9 @@ jobs:
318328 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
319329 with :
320330 submodules : recursive
321- - uses : dtolnay/rust-toolchain@1.74.0
331+ - uses : dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248
322332 with :
333+ toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
323334 components : rustfmt
324335 # This step checks if the current run was triggered by a push to a pr (or a pr being created).
325336 # If this is the case it changes the version of this project in all Cargo.toml files to include the suffix
0 commit comments