Skip to content

Commit

Permalink
chore: fix rust toolchain installation order
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jun 16, 2023
1 parent 6d013ac commit 07d5e93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install Rust Nightly Toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Install Rust Stable Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Install Rust Nightly Toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Check Code Format
run: cargo fmt --all -- --check
shell: bash
Expand Down

0 comments on commit 07d5e93

Please sign in to comment.