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

ci: check out code before calling setup-go to enable dependency caching #776

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Dec 2, 2024

This PR changes the order of steps in the CI workflow so that the code is checked out before running setup-go. This allows setup-go to cache Go dependencies listed in go.mod.

This change does not apply upstream as we use different CI workflows.

Signed-off-by: Charles Korn <charles.korn@grafana.com>
@charleskorn charleskorn merged commit 43c9aec into main Dec 2, 2024
8 checks passed
@charleskorn charleskorn deleted the charleskorn/fix-ci branch December 2, 2024 01:15
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