-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Install Rust Toolchain Components" step is redundant #78
Comments
And they are not ride-alongs, this is completely intentional documented in https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#rust-tools Of greater concern is that I don't see Vim listed anywhere in that link? What's pulling Vim into our CI environment? Should we ensure Vim is installed and run a Vim version check?
I lean towards Nope. Unlike some projects, our test runner isn't super-sensitive to Rust version, and the included Rust version works fine for the main purpose of our CI: testing the Vim files. Mostly filed this issue to check that I'm not missing something in that thinking? |
The answer appears to be, CI is using the While it makes sense that the Ubuntu image would use Ubuntu Server as a base, Ctrl+F on the above linked documentation page does not find any mention of In light of this finding, it would seem wise to have a "Check Vim installation" step to ensure Vim is installed and verify that |
Since NoahTheDuke thumbed up #78 (comment) and no additional points were raised, the "Install Rust Toolchain Components" CI step has been removed on Leaving open for the uncovered potential issue with Vim presence. |
As far back as our unexpired CI logs go, the "Install Rust Toolchain Components" step has always returned this -
So the pre-installed Rust toolchain already has the components we need. So we could remove that step and not use
rustup
, for the same result.On the other hand, the "Info" step shows that the pre-installed version of Rust is sometimes one behind the latest. For example, from our latest CI run on 23 March -
But latest rustc/cargo was already 1.77.0 for two days then. If this matters, the "Install Rust Toolchain Components" step should be expanded to have
rustup
download and set up latest stable Rust version.Is "always very latest stable Rust version" important in our CI?
The text was updated successfully, but these errors were encountered: