Skip to content

Commit 07d5e93

Browse files
committed
chore: fix rust toolchain installation order
1 parent 6d013ac commit 07d5e93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
path: ~/.cargo
2222
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2323

24+
- name: Install Rust Nightly Toolchain
25+
uses: dtolnay/rust-toolchain@nightly
26+
2427
- name: Install Rust Stable Toolchain
2528
uses: dtolnay/rust-toolchain@stable
2629
with:
2730
components: rustfmt, clippy
2831

29-
- name: Install Rust Nightly Toolchain
30-
uses: dtolnay/rust-toolchain@nightly
31-
3232
- name: Check Code Format
3333
run: cargo fmt --all -- --check
3434
shell: bash

0 commit comments

Comments
 (0)