Skip to content
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

replace go get with go install #7

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Conversation

samuelkarp
Copy link
Member

The latest version of golang.org/x/sys requires Go 1.17 and cannot be compiled with older versions of Go. github.com/vbatts/git-validation imports golang.org/x/sys and specifies a compatible version of golang.org/x/sys in its go.mod, but using go get -u overrides the version. Use go install instead, which will respect the version specified in git-validation's go.mod.

See also vbatts/git-validation#56 and opencontainers/distribution-spec#343.

action.yml Outdated Show resolved Hide resolved
The latest version of golang.org/x/sys requires Go 1.17 and cannot be
compiled with older versions of Go.  github.com/vbatts/git-validation
imports golang.org/x/sys and specifies a compatible version of
golang.org/x/sys in its go.mod, but using `go get -u` overrides the
version.  Use `go install` instead, which will respect the version
specified in git-validation's go.mod.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
@mxpv mxpv merged commit 434a071 into containerd:main Oct 13, 2022
Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@samuelkarp
Copy link
Member Author

I've tagged this as v1.1.0.

@samuelkarp samuelkarp deleted the go-install branch October 14, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants