Skip to content

Commit 2ed6c18

Browse files
committed
The --component flag is only available with rustup toolchain install
1 parent 6472b78 commit 2ed6c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ jobs:
6161
timeout-minutes: 2
6262
steps:
6363
- uses: actions/checkout@v1
64-
- run: rustup install nightly -c rustfmt
64+
- run: rustup toolchain install nightly --profile minimal --component rustfmt
6565
- run: cargo +nightly fmt -- --check

0 commit comments

Comments
 (0)