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

Add go caching in CI #2190

Merged
merged 1 commit into from Nov 22, 2021
Merged

Add go caching in CI #2190

merged 1 commit into from Nov 22, 2021

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Nov 18, 2021

Shaving off a couple of minutes in every step with caching for golang.

@github-actions github-actions bot added the chore Pull requests for routine tasks label Nov 18, 2021
@lucacome lucacome force-pushed the chore/cache-go branch 3 times, most recently from 899eccd to ad3bf5b Compare November 18, 2021 05:56
@lucacome lucacome self-assigned this Nov 18, 2021
@lucacome lucacome requested review from a team, ciarams87, soneillf5 and pleshakov and removed request for a team November 18, 2021 05:57
@nginx-bot nginx-bot force-pushed the chore/cache-go branch 2 times, most recently from a404952 to 8d9a342 Compare November 18, 2021 18:16
@soneillf5
Copy link
Contributor

how have you tested this?

@lucacome
Copy link
Member Author

how have you tested this?

if you look at the logs in the old jobs you can see that go is downloading all the dependencies to run the tests or check for CRDs changes. With this change when there's a cache hit it won't have to download them. You can also compare the times for the tests/build form old runs with this one.

@lucacome lucacome merged commit 4dda00c into master Nov 22, 2021
@lucacome lucacome deleted the chore/cache-go branch November 22, 2021 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants