Closed vpiyush closed 3 years ago
I was observing exact same issue as #337. Found out that git workflow is using the hardcoded GOPATH due to which transport service tests are broken. Below is the error:
FATA[0003] cannot generate service: cannot generate gokit service: cannot render template: cannot render template: svc/transport_http.gotemplate: template error: template: svc/transport_http.gotemplate:2:2: executing "svc/transport_http.gotemplate" at <call .HTTPHelper.ServerTemplate .>: error calling call: ERROR: go parser couldn't parse file '/home/runner/work/truss/truss/gengokit/httptransport/embeddable_funcs.go'
Update GOPATH to the env $GOPATH which fixed the issue.
I was observing exact same issue as #337. Found out that git workflow is using the hardcoded GOPATH due to which transport service tests are broken. Below is the error:
Update GOPATH to the env $GOPATH which fixed the issue.