Switch rustfmt to nightly ()

Nightly rustfmt is needed for the `imports_granularity` option.
This commit is contained in:
Chris Wong 2021-11-07 13:24:44 +11:00 committed by GitHub
parent 3c12d3639b
commit 40487fc34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,9 +88,8 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
# rustfmt is often missing on nightly. Since there's little benefit to
# using the nightly version, use the more reliable stable build instead.
toolchain: stable
# Nightly rustfmt is needed for the `imports_granularity` option
toolchain: nightly
profile: minimal
override: true
components: rustfmt