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 caching when repository contains multiple, nested go projects #418

Closed
cloudshiftchris opened this issue Aug 25, 2023 · 3 comments
Closed
Labels
question Further information is requested

Comments

@cloudshiftchris
Copy link

cloudshiftchris commented Aug 25, 2023

Description:
Have a large modulith composed of multiple separate golang projects.

When using setup-go it complains that it can't restore the cache:
Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/---/---. Supported file pattern: go.sum

There is no go.sum a the root; in fact, there are multiple go.sum files, one for each nested go project.

Perhaps there could be a pattern for dependencies files e.g. **/*.go.sum.

Justification:
Provide go module caching capabilities for multi-module projects.

@cloudshiftchris cloudshiftchris added feature request New feature or request to improve the current logic needs triage labels Aug 25, 2023
@dsame dsame added question Further information is requested and removed needs triage feature request New feature or request to improve the current logic labels Aug 28, 2023
@dsame
Copy link
Contributor

dsame commented Aug 28, 2023

Hello @cloudshiftchris , can you please double check this commend does not answer the question?

#371 (comment)

@cloudshiftchris
Copy link
Author

That does work - thanks. Would be good to show an example of that, in addition to #417.

@dsame
Copy link
Contributor

dsame commented Aug 30, 2023

Thank you @cloudshiftchris , i am closing the issue as it is solved and more use cases samples are on go

@dsame dsame closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants