Skip to content

Commit 99504af

Browse files
committed
ci: Use nightly Rust toolchain for formatting job
1 parent a2d38ea commit 99504af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
CARGO_INCREMENTAL: '0'
1919
CARGO_PROFILE_DEV_DEBUG: '0'
2020
RUST_TOOLCHAIN_VERSION: "1.85.0"
21+
RUST_NIGHTLY_TOOLCHAIN_VERSION: "nightly-2025-01-15"
2122
RUSTFLAGS: "-D warnings"
2223
RUSTDOCFLAGS: "-D warnings"
2324
RUST_LOG: "info"
@@ -73,7 +74,7 @@ jobs:
7374
persist-credentials: false
7475
- uses: dtolnay/rust-toolchain@master
7576
with:
76-
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
77+
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
7778
components: rustfmt
7879
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
7980
with:

0 commit comments

Comments
 (0)