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

THRIFT-5649: add github action for go #2697

Merged
merged 5 commits into from
Oct 9, 2022
Merged

Conversation

jimexist
Copy link
Member

@jimexist jimexist commented Oct 8, 2022

add github action for go

  • Did you create an Apache Jira ticket? (not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@jimexist jimexist requested a review from fishy October 8, 2022 10:59
@jimexist jimexist changed the title add github action for go THRIFT-5649: add github action for go Oct 8, 2022
@jimexist
Copy link
Member Author

jimexist commented Oct 8, 2022

the cross test failure is irrelevant to the changes in this pr

@jimexist jimexist merged commit d21e95a into apache:master Oct 9, 2022

- uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
Copy link
Member

Choose a reason for hiding this comment

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

the current supported go versions are 1.18.x and 1.19.x: https://github.com/apache/thrift/blob/master/LANGUAGES.md, not 1.17.x.

but looks like it actually picks the latest version (1.19.1) from the logs, so I think we probably actually need two actions, one for lib-go-1.18 with <1.19.0 and one for lib-go-1.19 with >=1.19.0, or something like that.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for the suggestion - will setup a new jira to follow up

Copy link
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants