Skip to content
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

[Windows] Add locked flag to cargo install #2546

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

miketimofeev
Copy link
Contributor

Description

It turned out that cargo install ignores the Cargo.lock file by default, which leads to unpredictable installation failures due to broken dependencies. The recent one affected us as well rust-lang/cargo#9101
To avoid such surprises --locked flag can be used.
PS: A huge related thread for reference rust-lang/cargo#7169

Related issue:

https://github.com/actions/virtual-environments-internal/issues/1737

Check list

  • Related issue / work item is attached
  • Tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested and related VM images are successfully generated

@miketimofeev miketimofeev requested a review from a team January 25, 2021 14:04
@AlenaSviridenko AlenaSviridenko merged commit 0d1d77d into actions:main Jan 26, 2021
@miketimofeev miketimofeev deleted the windows-add-locked-cargo branch March 17, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants