-
Notifications
You must be signed in to change notification settings - Fork 28
Dependabot doesn't run cargo update
#394
Comments
That’s really surprising - under the hood Dependabot does run |
OK, digging into this. On the update:
On the branch name:
|
Well, it's probably just that I don't know how to checkout a branch with slashes locally because whatever I try doesn't work. Also, then how did |
Running For checking out branches with slashes locally you can just use |
(Thanks for the feedback btw - it's always really useful to hear from users, and whilst in this case it looks like Dependabot was doing the right thing and the problem was with |
Thanks for the clarification and quick response! |
I recently added dependabot to my Rust project and I got a PR from the bot which updates
rand
from 0.6.1 to 0.6.5. However, whenrand
was updated, none of its subdependencies (AFAICT) were updated. As a result, the build broke (see here). To fix this, I fetched the PR contents into a local branch (with a different name) and rancargo update
, which resolved the dependencies properly. Unfortunately, I was unable to push to the PR directly (due to the presence of slashes in the name) and used the online commit feature in Github.So mainly 2 things:
cargo update
for Rust projects before submitting a PR.The text was updated successfully, but these errors were encountered: