I try to build the
circleci-demo-go project locally with the
circleci build command but I get an error:
package github.com/jstemmer/go-junit-report: mkdir /go/src/github.com/jstemmer/: permission denied
If I do a
ls -la /go/src/ I see that the github.com is owned be root, so the error makes sense.
What’s the recommended way to build go based projects locally when one wants to use go binaries like