-
| Hi, I am currently setting up a custom CI integration of  I am asking, because the official GitHub Action talks a bit about caching/restoring build and module artifacts and I saw some other integrations providing an explicit module cache across pipelines. But I could not find anything in the documentation whether it is required or not. Is it enough to just provide a location for the  | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
| For the future readers - no it's not at the moment. It is set up via the envvar GOLANGCI_LINT_CACHE, which defaults to <.cache>/golangci-lint. See the code here: https://github.com/golangci/golangci-lint/blob/master/internal/cache/default.go#L15 | 
Beta Was this translation helpful? Give feedback.
-
| GitHub Action was handling the Go cache but since v5.0.0 of  Golangci-lint by itself don't use directly the Go cache, it has its own cache. | 
Beta Was this translation helpful? Give feedback.
GitHub Action was handling the Go cache but since v5.0.0 of
golangci-lint-actionthis has been removed.Golangci-lint by itself don't use directly the Go cache, it has its own cache.