Skip to content

Running linter with go mod replaced dependencies behaves differently in CI vs local causing typecheck errors #4873

Closed Answered by ldez
bbq2100 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

the way you vendor the dependencies is not standard (you are using a folder named vendored), this can be the root of your problem.

I think you should use a standard approach by using Go workspace.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bbq2100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants