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

Add GitHub Actions workflows, use golangci-lint #1573

Merged
merged 5 commits into from
Jan 28, 2020
Merged

Add GitHub Actions workflows, use golangci-lint #1573

merged 5 commits into from
Jan 28, 2020

Conversation

bai
Copy link
Contributor

@bai bai commented Jan 15, 2020

  1. Use golangci-lint instead of assorted linters, apart from simplifying setup overall it'll allow running linters locally with a simple make lint. We still have a lot of linters disabled but otherwise there're too many failures. Will address those in a follow-up PR.

  2. Build with GitHub Actions instead of Travis CI.

How to read this PR: first commit sets up GitHub Actions and golangci-lint, second commit fixes linter issues.

Interesting observation: GitHub Actions runs integration tests more than 2x faster compared to Travis.

@bai bai requested a review from d1egoaz January 15, 2020 16:00
@bai bai mentioned this pull request Jan 15, 2020
1 task
@d1egoaz
Copy link
Contributor

d1egoaz commented Jan 27, 2020

2x faster compared to Travis.

🚀 🚢

.github/CODEOWNERS Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@bai bai requested a review from d1egoaz January 28, 2020 06:32
@bai
Copy link
Contributor Author

bai commented Jan 28, 2020

@d1egoaz this PR is ready for final review, please take a look when you have a chance 🙏

Copy link
Contributor

@d1egoaz d1egoaz left a comment

Choose a reason for hiding this comment

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

🚢

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.12.x, 1.13.x]
kafka-version: [2.3.1, 2.4.0]
Copy link
Contributor

Choose a reason for hiding this comment

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

do you think it'd be a good idea also to test against 2.2.x like previously travis did it with 2.2.1?

@bai bai merged commit 94173f8 into master Jan 28, 2020
@bai bai deleted the github-actions branch January 28, 2020 18:00
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