Closed artemyarulin closed 9 months ago
Yeah this isn't strictly a vergen
issue. There could be some preemptive checking for git tree states that vergen
can't handle possible (shallow clones, submodules, and worktrees come to mind).
Yeah, feel free to close it, just made the issue for the visibility
vergen fails to get
git
information in case of git shallow clone is used. As far as I've understood most recent Github Actionsactions/checkout@v4
uses shallow clone by default, so vergen starts to fail after upgrade with en error. Whenfail_on_error
is set:and with default settings when
fail_on_error
is not set:cargo.toml
and
build.rs
I don't think it's a
vergen
error and probably coming from inside ofgit
dependencies, but just wanted to create an issue here for the visibility just in case someone else encounter the same. With Github Actions solutions is make a full clone