-
In a Github CI build, I hit the issue of golangci-lint. I've searched a lot but failed to find any clues. Please help take a look at it. Any directions would be appreciated. Thanks. More detailed log is at https://github.com/oam-dev/kubevela/pull/1519/checks?check_run_id=2387867954
|
Beta Was this translation helpful? Give feedback.
Replies: 18 comments 22 replies
-
I think you have to run |
Beta Was this translation helpful? Give feedback.
-
If you're finding this issue from a search in 2022; if you replace an |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This config solved my problem.
|
Beta Was this translation helpful? Give feedback.
-
I've been stumped by this issue for quite a while now. I've tried running
|
Beta Was this translation helpful? Give feedback.
-
In my case the reason was some patterns in |
Beta Was this translation helpful? Give feedback.
-
I have this problem as well on dependabot update.
https://github.com/stackrox/stackrox/actions/runs/4205140774/jobs/7296796512#step:10:161 |
Beta Was this translation helpful? Give feedback.
-
I found out that the problem was caused by the source I imported... Looks like we still need to check the source |
Beta Was this translation helpful? Give feedback.
-
In my case I forgot to set the repo variables that the actions uses to connect to private repos. |
Beta Was this translation helpful? Give feedback.
-
In my case it was a PEBKC , i copy pasted the example action, which still pointed to go 1.17 🤦 |
Beta Was this translation helpful? Give feedback.
-
In my case it was because of a version mismatch:
|
Beta Was this translation helpful? Give feedback.
-
Delete and re-create go.mod and sum |
Beta Was this translation helpful? Give feedback.
-
In my case, the issue arose because my Go 1.17 project imported a Go 1.18 library that utilizes |
Beta Was this translation helpful? Give feedback.
-
I run to the same problem with different package it looks like this error is general error that involves with the module in the error message In my cases, Go compiler cannot pull module from |
Beta Was this translation helpful? Give feedback.
-
Updating go version from 1.20 to 1.21 fixed the issue for me |
Beta Was this translation helpful? Give feedback.
-
It is possible that your dependency package lost some its dependency somehow. Real example: recently I observed this in vendored mode when you perform |
Beta Was this translation helpful? Give feedback.
-
I would like to note that please ensure your program could be build by In my case, i import a library requires |
Beta Was this translation helpful? Give feedback.
-
any updates on this issue? any one built something for it? |
Beta Was this translation helpful? Give feedback.
I think you have to run
go mod tidy