Switch rustfmt to nightly (#313)
Nightly rustfmt is needed for the `imports_granularity` option.
This commit is contained in:
parent
3c12d3639b
commit
40487fc34c
1 changed files with 2 additions and 3 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -88,9 +88,8 @@ jobs:
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
# rustfmt is often missing on nightly. Since there's little benefit to
|
# Nightly rustfmt is needed for the `imports_granularity` option
|
||||||
# using the nightly version, use the more reliable stable build instead.
|
toolchain: nightly
|
||||||
toolchain: stable
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
Loading…
Add table
Reference in a new issue