Skip to content

Commit 80bdf12

Browse files
committed
Clean up component installation
1 parent 5f07f7e commit 80bdf12

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ jobs:
99
- uses: actions/checkout@v2
1010

1111
- uses: dtolnay/rust-toolchain@stable
12+
with:
13+
components: rustfmt
1214

1315
- name: Formatting
14-
run: |
15-
# Install extra rustup components
16-
rustup component add rustfmt
17-
cargo fmt --all -- --check
16+
run: cargo fmt --all -- --check
1817

1918
- name: Test
2019
run: |

0 commit comments

Comments
 (0)