-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add --locked flag for rust action #349
Conversation
I'm not familiar enough with Rust to be able to weigh in on this. @rylev can you help here with a review? |
@ethomson @rylev homebrew-core side has a better well-written issue might give you more context and impact on this change :) |
This seems reasonable to me for builds on CI, but I'm wondering what @pietroalbini thinks about this. |
I don't think adding The This is because the project recommends to commit the lockfile only for binaries, not for libraries. This recommendation is also encoded in |
Thanks for the information @pietroalbini! @chenrui333 maybe instead of adding |
@pietroalbini I am actually surprised that most of the rust projects do not have lock file, that sounds pretty interesting. But thanks for the info. @ethomson Sounds good, I will modify my PR to add as comment to raise the awareness. Ideally the CI build should be reproducible anywhere. :) |
The locked file is like |
This pull request has become stale and will be closed automatically within a period of time. Sorry about that. |
looks like we indeed run into the |
Include --locked flag to the rust action to make it the build reproducible.