Closed codebien closed 1 year ago
Hey @codebien, thanks for this PR!
If I understand this correctly, this would allow fetching to work when the version specified in go.mod is a pseudoversion e.g. v2.1.4-0.20211119122758-180fcef48034+incompatible
. Am I correct?
If so this looks awesome to me so far.
@roobre yes, exactly. I would use the k6 master which means go.k6.io/k6 v0.46.1-0.20230921075448-d1c5ee8fb28d
but using the GitHub URL didn't work, so I switched to the proxy so it can resolve any version supported by go mod
command.
Download the go.mod file from the official proxy. In this way we can support any kind of formatted version. e.g. When a specific version pinned by commit is used.
Description
Fixes # (issue)
Checklist:
make lint
) and all checks pass.make test
) and all tests pass.make integration-xxx
for affected packages)make e2e-xxx
fordisruptors
, orcluster
related changes)