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

GOLANGCI_LINT_CACHE change not documented #734

Closed
rittneje opened this issue Sep 24, 2019 · 1 comment · Fixed by #1871
Closed

GOLANGCI_LINT_CACHE change not documented #734

rittneje opened this issue Sep 24, 2019 · 1 comment · Fixed by #1871

Comments

@rittneje
Copy link

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.

@stale
Copy link

stale bot commented Mar 23, 2020

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.

@stale stale bot added the stale No recent correspondence or work activity label Mar 23, 2020
@stale stale bot closed this as completed Apr 6, 2020
@ldez ldez reopened this Mar 25, 2021
@stale stale bot removed the stale No recent correspondence or work activity label Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants