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

Build and test with multiple versions of Go #269

Merged
merged 1 commit into from
Jun 6, 2020

Conversation

abatilo
Copy link
Contributor

@abatilo abatilo commented Jun 6, 2020

Motivation

Currently, the Pulsar Go Client is only tested against Go version 1.12. The
motivation for this change is to help bring confidence that the Go client is
compatible with multiple versions of Go, all being tested with each PR.

Modifications

I've modified the two GitHub Action workflows that are a part of this repo with
a matrix such that we test against multiple versions of Go.

I've also modified the current docker-ci.sh script and Dockerfile to allow for injecting a different go version other than the default 1.12.

Verifying this change

  • Make sure that the change passes the CI checks.

Currently, the Pulsar Go Client is only tested against Go version 1.12. The motivation for this change is to help bring confidence that the Go client is compatible with multiple versions of Go, all being tested with each PR.

I've modified the two GitHub Action workflows that are a part of this repo with a [matrix](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix) such that we test against multiple versions of Go.

- [X] Make sure that the change passes the CI checks.
@merlimat merlimat merged commit dc11c03 into apache:master Jun 6, 2020
@wolfstudy wolfstudy added this to the 0.1.1 milestone Jun 9, 2020
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