This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
Using both rust-toolchain and toolchain leads to missing component #136
Labels
bug
Something isn't working
Description
Using both
toolchain
parameter and rust-toolchain file leads to weird behavior. Particularly the error is missing rustfmt:error: 'cargo-fmt' is not installed for the toolchain
.I did 2 pipeline runs, first one without rust-toolchain file (but with parameter toolchain) passes "Check format" step (though fails later, but unrelated to the project) and the second one (with both toolchain parameter and rust-toolchain file) fails with error message
error: 'cargo-fmt' is not installed for the toolchain
. Diff clearly states that the only interesting change is a rust-toolchain addition.Workflow code
is the same for both cases:
Action output
[First] install step
[First] check format step (failed)
[Second] install step
[Second] check format step (succeeded)
Install step diff
Expected behavior
Don't really know actually. Perhaps
cargo fmt
should not fail, or maybe there should be some more descriptive error that toolchain and rust-toolchain are mutually exclusive.The text was updated successfully, but these errors were encountered: