-
Notifications
You must be signed in to change notification settings - Fork 535
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
feat: improve support for multi-module repos #371
Comments
Oh wow, I am fighting exactly this right now. I think adding |
Hello @dolmen, thanks for the suggestion, we are starting to investigate it |
Design idea: allow to pass an array of paths for the Or better: automatically process all |
This feature resembles actions/setup-node#735 |
Hello @dolmen ,
Sample workflow: https://github.com/akv-demo/test-setup-go/blob/cache-multi/.github/workflows/blank.yml Did this answer help? |
Not yet tested, but it seems to fit my need. However, what about making |
@dolmen i do not think it is good idea to allow implicit dependencies. I believe the user of the action should have clear understanding of where the dependencies come from. |
@dolmen i am going to close the issue because the problem is resolved without the implementing requested feature, but please feel free to reopen it or create new one in case if the problem still exists |
Description:
Add support for caching dependencies for repositories made of multiple Go modules.
Example:
dolmen-go/mylogin-driver
has Go modulesgithub.com/dolmen-go/mylogin-driver
andgithub.com/dolmen-go/mylogin-driver/cmd/mylogin-query
Justification:
Each Go module has its own set of dependencies. Dependencies caching should cover the union of the dependencies of all Go modules of the repo.
From the documentation, it looks like a single Go module is supported.
Are you willing to submit a PR?
No. I'm not familiar with GitHub Actions development.
The text was updated successfully, but these errors were encountered: