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

build: add gha cache for go and docker #338

Merged
merged 1 commit into from
Jul 25, 2024
Merged

build: add gha cache for go and docker #338

merged 1 commit into from
Jul 25, 2024

Conversation

tobybellwood
Copy link
Member

@tobybellwood tobybellwood commented Jul 23, 2024

This PR introduces go and docker caching into the github actions.

In addition, there is now docker layer caching available, so the non-golang layers will also be cached, which can speed up the builds from 12 to 10 minutes.

It uses a hash of go.mod - so if no golang changes are made, the cache is available to the build to use, which can speed up builds from 10 to 2 minutes.

@tobybellwood tobybellwood marked this pull request as ready for review July 25, 2024 05:18
Copy link
Member

@shreddedbacon shreddedbacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳 makes this a 🤏 faster

@shreddedbacon shreddedbacon merged commit 95d116a into main Jul 25, 2024
2 checks passed
@shreddedbacon shreddedbacon deleted the gha_cache branch July 25, 2024 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants