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

Cache Go dependencies and build outputs in ci-go workflow #75

Merged

Conversation

svengreb
Copy link
Owner

Resolves #74

To improve workflow execution time for the `ci-go` workflow [1] the
`actions/cache` [2] GitHub action is now used to cache Go dependencies
and build outputs. Also see the detailed documentation about
"Caching dependencies to speed up workflows" [3] to learn more about the
way `action/cache` works.

[1]: https://github.com/svengreb/tmpl-go/blob/c099c6ee246eb402b63f7a605ca647c481a02eab/.github/workflows/ci-go.yaml
[2]: https://github.com/actions/cache
[3]: https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows

GH-74
@svengreb svengreb added this to the Next milestone Nov 21, 2021
@svengreb svengreb self-assigned this Nov 21, 2021
@svengreb svengreb merged commit 05c0d38 into main Nov 21, 2021
@svengreb svengreb deleted the improvement/gh-74-cache-go-deps-build-output-ci-workflow branch November 21, 2021 13:42
@svengreb svengreb removed their assignment Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache Go dependencies and build outputs in ci-go workflow
1 participant