Skip to content

Refactor module caching in GitHub Actions workflows  #7342

Open
@cPu1

Description

@cPu1

Most workflows are currently using actions/setup-go to set up a Go environment and actions/cache to cache and restore Go modules. actions/setup-go, however, has built-in support for module caching and is enabled by default. This can be leveraged to remove usage of actions/cache but care must be exercised to ensure the module cache is built with a consistent key.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions