You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We run golangci-lint in a docker container. Up through version 1.18.0, we just set GOCACHE to /tmp/.cache and everything worked fine. When upgrading to 1.19.0, it failed with a message "failed to initialize build cache at /.cache/golangci-lint: mkdir /.cache: permission denied". This seems to be because golangci-lint was changed to use GOLANGCI_LINT_CACHE for its cache directory, or os.UserCacheDir if that is not defined. But this change is not mentioned in the README or the release notes.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We run golangci-lint in a docker container. Up through version 1.18.0, we just set GOCACHE to /tmp/.cache and everything worked fine. When upgrading to 1.19.0, it failed with a message "failed to initialize build cache at /.cache/golangci-lint: mkdir /.cache: permission denied". This seems to be because golangci-lint was changed to use
GOLANGCI_LINT_CACHE
for its cache directory, oros.UserCacheDir
if that is not defined. But this change is not mentioned in the README or the release notes.The text was updated successfully, but these errors were encountered: