-
Notifications
You must be signed in to change notification settings - Fork 58
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
CI: upgrading to setup-go v4 is leads to Golangci Lint errors #1000
Comments
Shwetha-Acharya
added a commit
to Shwetha-Acharya/ramen
that referenced
this issue
Jul 26, 2023
Below errors were seen with setup-go@v4 in golangci Lint: Error: /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/yaml_ test.go: Cannot open: File exists /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/LICENSE: Cannot open: File exists Disabling Cache with golangci solves the problem and makes sure that we are in a reecent setup-go as well. Cache can be enabled once the resultant issue is fixed in golangc lint action repo. Issue that to be tracked: golangci/golangci-lint-action#135 Updates: RamenDR#1000 Signed-off-by: Shwetha K Acharya <[email protected]>
There is an issue already files on golangci Lint repo which is to be tracked: Upgraded to setup go @v4 with a workaround. |
Shwetha-Acharya
added a commit
to Shwetha-Acharya/ramen
that referenced
this issue
Jul 26, 2023
Below errors were seen with setup-go@v4 in golangci Lint: Error: /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/yaml_ test.go: Cannot open: File exists /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/LICENSE: Cannot open: File exists Disabling Cache with golangci solves the problem and makes sure that we are in a reecent setup-go as well. Cache can be enabled once the resultant issue is fixed in golangci lint action repo. Issue that is to be tracked: golangci/golangci-lint-action#135 Updates: RamenDR#1000 Signed-off-by: Shwetha K Acharya <[email protected]>
Shwetha-Acharya
added a commit
to Shwetha-Acharya/ramen
that referenced
this issue
Jul 27, 2023
Below errors were seen with setup-go@v4 in golangci Lint: Error: /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/yaml_ test.go: Cannot open: File exists /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/LICENSE: Cannot open: File exists Disabling Cache with golangci solves the problem and makes sure that we are in a reecent setup-go as well. Cache can be enabled once the resultant issue is fixed in golangci lint action repo. Issue that is to be tracked: golangci/golangci-lint-action#135 Updates: RamenDR#1000 Signed-off-by: Shwetha K Acharya <[email protected]>
nirs
pushed a commit
that referenced
this issue
Jul 27, 2023
Below errors were seen with setup-go@v4 in golangci Lint: Error: /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/yaml_ test.go: Cannot open: File exists /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/[email protected]/LICENSE: Cannot open: File exists Disabling Cache with golangci solves the problem and makes sure that we are in a reecent setup-go as well. Cache can be enabled once the resultant issue is fixed in golangci lint action repo. Issue that is to be tracked: golangci/golangci-lint-action#135 Updates: #1000 Signed-off-by: Shwetha K Acharya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below are the few builds that encountered the stated issue:
run_5598571526
run_5607722950
Error Snippet:
Tasks
The text was updated successfully, but these errors were encountered: