Skip to content

Commit 043d5da

Browse files
committed
fix missing rustfmt
1 parent 721272c commit 043d5da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ jobs:
3939
if [ "$ver" = msrv ]; then
4040
ver=$(cargo metadata --format-version 1 --no-deps | \
4141
jq -r '.packages[0].rust_version')
42+
extra=(-c rustfmt)
4243
fi
43-
rustup toolchain install "$ver" --profile minimal --no-self-update
44+
rustup toolchain install "$ver" --profile minimal --no-self-update "${extra[@]}"
4445
rustup default "$ver"
4546
echo "Installed:"
4647
cargo --version

0 commit comments

Comments
 (0)