Skip to content

Conversation

@wiktor-k
Copy link

Setting a submodule as update = none is a common way to make cargo skip the submodule. Unfortunately this makes actions/checkout skip the submodule too, even if it's configured to fetch submodules.

This patch adds an option that is a default in git but causes the submodules to be available even if skipped otherwise.

See: #915
See: rust-lang/cargo#4247 (comment)
See: https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt---checkout

Setting a submodule as `update = none` is a common way to make cargo
skip the submodule. Unfortunately this makes `actions/checkout` skip
the submodule too, even if it's configured to fetch submodules.

This patch adds an option that is a default in git but causes the
submodules to be available even if skipped otherwise.

See: actions#915
See: rust-lang/cargo#4247 (comment)
See: https://git-scm.com/docs/git-submodule#Documentation/git-submodule.txt---checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants