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

fix issues with Cargo.lock #3

Open
mimoo opened this issue Feb 12, 2020 · 0 comments
Open

fix issues with Cargo.lock #3

mimoo opened this issue Feb 12, 2020 · 0 comments

Comments

@mimoo
Copy link
Owner

mimoo commented Feb 12, 2020

imagine the flow if we add/remove/update a dependency:

  1. cargo build the PR's last commit
  2. cargo detects that some dependency was changed, so it updates Cargo.lock
  3. this step checkouts the base, which will trigger a warning and fail:
error: Your local changes to the following files would be overwritten by checkout:
	Cargo.lock
Please commit your changes or stash them before you switch branches.
Aborting
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

No branches or pull requests

1 participant