Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix issues with Cargo.lock #3

@mimoo

Description

@mimoo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions