-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema: update readme for how to validate manually #1141
Schema: update readme for how to validate manually #1141
Conversation
5829e93
to
711f50a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof, good catch -- this repository's Go code probably needs a heavier revamp so it works properly on newer Go versions, since this variable is supposed to only last another release or so. 😬 🙈
schema/README.md
Outdated
@@ -24,8 +24,8 @@ To build it: | |||
|
|||
```bash | |||
export GOPATH=`mktemp -d` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add it here instead?
export GOPATH=`mktemp -d` | |
export GOPATH=`mktemp -d` GO111MODULE=off |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tianon I have updated as your suggestion.
BTW Makefile has the same issue but GitHub workflow calls go mod init
before calling make validate
.
711f50a
to
8c2e788
Compare
The latest go is using gomod, but the repo has no go.mod, adding GO111MODULE=off to disable gomod and build it locally. Signed-off-by: bin liu <[email protected]>
8c2e788
to
8d66aac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long term we probably need more here, but this seems like a positive change for now 👍
Thanks!
The latest go is using gomod, but the repo has no go.mod,
adding GO111MODULE=off to disable gomod and build it locally.
Signed-off-by: bin liu [email protected]