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

*: fix CI and switch to golangci-lint #1471

Merged
merged 1 commit into from
Mar 21, 2019
Merged

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Mar 20, 2019

What problem does this PR solve?

Currently, our CI is not stable. And also gometalinter and megacheck are deprecated.

What is changed and how it works?

This PR fixes CI by adding export GO111MODULE=on and switches to golangci-lint.

Check List

Tests

  • Unit test

Signed-off-by: rleungx <rleungx@gmail.com>
@rleungx rleungx requested review from disksing and nolouch and removed request for disksing March 20, 2019 13:05
@rleungx
Copy link
Member Author

rleungx commented Mar 20, 2019

/rebuild

1 similar comment
@rleungx
Copy link
Member Author

rleungx commented Mar 20, 2019

/rebuild

@disksing
Copy link
Contributor

Why export GO111MODULE=on is related to CI stability?

@rleungx
Copy link
Member Author

rleungx commented Mar 21, 2019

@disksing I think it might be related to https://golang.org/doc/go1.12#gocache, but I'm not pretty sure.

@disksing disksing merged commit f72cc23 into tikv:master Mar 21, 2019
bradyjoestar added a commit to bradyjoestar/pd that referenced this pull request Mar 24, 2019
fix CI and switch to golangci-lint (tikv#1471)
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.

3 participants