Skip to content

Support caching when repository contains multiple, nested go projects #418

Description

@cloudshiftchris

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions