Skip to content

Commit d6c77b0

Browse files
committed
Use nightly toolchain for rustfmt CI
1 parent aaf3ed5 commit d6c77b0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/full-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: "Install Rust"
5050
uses: ./.github/composite/rust
5151
with:
52+
rust: nightly
5253
components: rustfmt
5354

5455
- name: "Check rustfmt"

.github/workflows/minimal-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- name: "Install Rust"
4848
uses: ./.github/composite/rust
4949
with:
50+
rust: nightly
5051
components: rustfmt
5152

5253
- name: "Check rustfmt"

.github/workflows/release-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
ref: ${{ github.ref }}
121121

122122
- name: "Install Rust (uncached)"
123-
run: rustup update stable
123+
run: rustup update nightly && rustup default nightly
124124

125125
- name: "Check rustfmt"
126126
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)