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

Support nested go.mod|sum file updates with the "Update Go" workflow #798

Open
dmikusa opened this issue Aug 17, 2022 · 0 comments
Open
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Aug 17, 2022

Describe the Enhancement

The workflow generated to "Update Go" currently only works for projects where the go.mod|sum files are in the root of the project. It doesn't look at nested go.mod|sum files.

Possible Solution

It is possible that we could find nested files and either generate multiple workflows or generate one workflow capable of updating multiple sets of go.mod|sum files.

Motivation

This comes up in libcnb. The project has a top-level go.mod|sum file set for the library and then one that's nested for its tools. It could be helpful to update both automatically.

@dmikusa dmikusa added the type:enhancement A general enhancement label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant