-
-
Notifications
You must be signed in to change notification settings - Fork 164
Allow disabeling go mod cache #153
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
Labels
Comments
I think this could also be a way of resolving #135. People who generate their own cache could just disable the cache inside the action. |
If solving this, probably makes sense to allow disabling build cache as well. |
mtardy
added a commit
to cilium/tetragon
that referenced
this issue
Aug 22, 2023
Caching was disabled for stuff that might not apply anymore: golangci/golangci-lint-action#153 We were timing out on the analysis so this might help. Signed-off-by: Mahe Tardy <[email protected]>
kkourt
pushed a commit
to cilium/tetragon
that referenced
this issue
Aug 22, 2023
Caching was disabled for stuff that might not apply anymore: golangci/golangci-lint-action#153 We were timing out on the analysis so this might help. Signed-off-by: Mahe Tardy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There may be good reason for not letting this task restore, cache or download modules. E.g. in our case, we have private dependencies that require setting the
GOPRIVATE
environment variable in order to resolve all dependencies. Besides, as we already save and restore the module cache for tests, why not reuse it for lint.Therefore, having a way to turn off module cache, in the same way you can configure to not install go, would be very handy.
The text was updated successfully, but these errors were encountered: