Skip to content

Makefile: fix go vet/fmt#2545

Merged
mrunalp merged 1 commit into
opencontainers:masterfrom
kolyshkin:go-mod-vendor
Aug 10, 2020
Merged

Makefile: fix go vet/fmt#2545
mrunalp merged 1 commit into
opencontainers:masterfrom
kolyshkin:go-mod-vendor

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

separated from #2538

I have noticed that go vet from golang 1.13 ignores the vendor/
subdir, downloading all the modules when invoked in Travis CI env.

As the other go commands, in 1.13 it needs explicit -mod=vendor
flag, so let's provide one.

PS once golang 1.13 is unsupported, we will drop it.

I have noticed that `go vet` from golang 1.13 ignores the vendor/
subdir, downloading all the modules when invoked in Travis CI env.

As the other go commands, in 1.13 it needs explicit -mod=vendor
flag, so let's provide one.

PS once golang 1.13 is unsupported, we will drop it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@mrunalp mrunalp merged commit dedadbf into opencontainers:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants