Skip to content

Commit 4797b87

Browse files
authored
Merge pull request #1910 from dtolnay-contrib/stable
Install current stable Rust in CI
2 parents 3db12c8 + 80bdf12 commit 4797b87

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/main.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010

11+
- uses: dtolnay/rust-toolchain@stable
12+
with:
13+
components: rustfmt
14+
1115
- name: Formatting
12-
run: |
13-
# Install extra rustup components
14-
rustup component add rustfmt
15-
cargo fmt --all -- --check
16+
run: cargo fmt --all -- --check
1617

1718
- name: Test
1819
run: |

0 commit comments

Comments
 (0)