Skip to content

ci: Fix build caching on Windows #4811

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

Merged
merged 2 commits into from
May 25, 2022
Merged

ci: Fix build caching on Windows #4811

merged 2 commits into from
May 25, 2022

Conversation

francislavoie
Copy link
Member

I was getting tired of Windows being slow as molasses in our CI jobs, so I went to look at our trusty source of github actions + golang information, and found a somewhat recent commit that actually fixed it. See mvdan/github-actions-golang@4b75472

I'll do a 2nd empty commit to re-trigger CI shortly to confirm that it actually fixes it.

I was getting tired of Windows being slow as molasses in our CI jobs, so I went to look at our trusty source of github actions + golang information, and found a somewhat recent commit that actually fixed it. See mvdan/github-actions-golang@4b75472

I'll do a 2nd empty commit to re-trigger CI shortly to confirm that it actually fixes it.
@francislavoie francislavoie added the CI/CD 🔩 Automated tests, releases label May 24, 2022
@francislavoie francislavoie added this to the v2.5.2 milestone May 24, 2022
@francislavoie francislavoie requested a review from mohammed90 May 24, 2022 23:50
@francislavoie
Copy link
Member Author

Still seems really slow. Bah. Probably worth having anyways.

@mholt
Copy link
Member

mholt commented May 25, 2022

You are asking Windows to be fast, Francis 😄

Is the extra complexity of this CI job worth the lack of improvement?

(Thank you for trying this out! I'm not opposed to this, just want to discuss it first, since the expected results aren't apparent.)

@francislavoie
Copy link
Member Author

It's actually less complex in this case, cause we're not relying on pulling the path from env anymore, and just hardcoding them. I think we should merge anyways. It's still a correctness fix, I'm just disappointed it didn't help much is all.

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Ah, okay. Sounds good then. Thank you!

@mholt mholt merged commit ef0aaca into master May 25, 2022
@mholt mholt deleted the ci-cache-windows branch May 25, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD 🔩 Automated tests, releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants