set rustup profile to default #12214
Open
+3
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
rustup
in GitHub Actions has been updated to1.28.2
. Since1.28.2
(rust-lang/rustup@f439f48), when a repository usesrust-toolchain.toml
to automatically install the nightly toolchain, rustup consults the profile specified in~/.rustup/settings.toml
instead of defaulting to thedefault
profile. This behavior is reasonable, as it aligns with howrustup toolchain install
works. However, it breaks usage for nightly toolchain users on GitHub Actions because the profile in GitHub Actions is set tominimal
, which meansrustfmt
andclippy
are no longer installed automatically. This PR changes the profile todefault
to fix it.A temporary fix for those experiencing broken CI:
rustup set profile default