-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Loads of "Error: /usr/bin/tar: ../../../go/pkg/mod/....: Cannot open: File exists #677
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Had the same issue. Try to set |
Thx, although it's more of a workaround than a fix I guess? |
Any update on this issue please? |
* Add `skip-pkg-cache` go `golangci-lint-action` See golangci/golangci-lint-action#677. * Increase `golangci-lint` timeout
* fix: golanglint-ci golangci/golangci-lint-action#677 * Update cli-ci.yml * Update provider-ci.yml * Update shared-ci.yml
Are you using |
refs golangci/golangci-lint-action#677 Signed-off-by: Carlos A Becker <[email protected]>
refs golangci/golangci-lint-action#677 Signed-off-by: Carlos A Becker <[email protected]>
@caarlos0 No I am not, I am still using EDIT: Sorry I misread, but no, I am also not using |
In that case, probably your That's why I usually have another workflow just for linting, so one thing doesn't mess with the other... |
Indeed, changing the order to ensure that the lint job runs before any test or build step seems to work: |
Upgrading to |
Welcome
Description of the problem
The github action fails with loads of these errors, probably related to the caching:
Version of golangci-lint
v1.51.1
Configuration file
None
Go environment
Not applicable
Verbose output of running
Not applicable
Code example or link to a public repository
See: https://github.com/markusressel/fan2go/actions/runs/4188111630/jobs/7258832963
The text was updated successfully, but these errors were encountered: