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

Use host module cache without build cache #1754

Closed
scaiper opened this issue Mar 13, 2024 · 0 comments · Fixed by #1755
Closed

Use host module cache without build cache #1754

scaiper opened this issue Mar 13, 2024 · 0 comments · Fixed by #1755

Comments

@scaiper
Copy link
Contributor

scaiper commented Mar 13, 2024

What version of gazelle are you using?

0.35.0

What version of rules_go are you using?

0.45.1

What version of Bazel are you using?

7.0.2

Description

We would like to have somewhat persistent Go module cache on our CI workers. We've looked at GO_REPOSITORY_USE_HOST_CACHE but it overrides GOPATH and GOCACHE also, while we only need to change GOMODCACHE. Secondly, go mod download do not verify a module in case of a case hit, which is not ideal.

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 a pull request may close this issue.

1 participant