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

GitHub actions checks cdn #460

Merged
merged 33 commits into from
Jun 2, 2022

Conversation

Argonus
Copy link
Contributor

@Argonus Argonus commented Apr 11, 2022

No description provided.

@Argonus Argonus force-pushed the github-actions-checks-cdn branch 5 times, most recently from a2b2443 to 9535e56 Compare April 13, 2022 08:49
- Lock ubuntu version to 20.04
- Steps names to make it more explicit
- Fix OTP
@Argonus Argonus force-pushed the github-actions-checks-cdn branch 2 times, most recently from b51f945 to e93a058 Compare April 21, 2022 12:10
@Argonus Argonus force-pushed the github-actions-checks-cdn branch 2 times, most recently from 3084b71 to c0e547c Compare April 22, 2022 05:58
@Argonus Argonus marked this pull request as ready for review April 22, 2022 06:13
@Argonus
Copy link
Contributor Author

Argonus commented Apr 22, 2022

@dantswain @joshuawscott
Done, after some long fight I've given up and just use the same approach as kafkajs is doing, so moved to confluent-based images.
Currently, there is only the newest version of elixir & erlang in the matrix, but I'm happy to play with other ones as well. What is the earliest version we have to support?

@dantswain
Copy link
Collaborator

@Argonus This is amazing!

The earliest version of Elixir we support is 1.6. If changing that makes this library easier to maintain then I'm totally in favor.

I hate to ask this after all the work you put in, but it looks like there's a bunch of formatting changes here... would you mind making those on a separate PR to make it easier to understand what changed in order to support github actions? Thanks!

@Argonus
Copy link
Contributor Author

Argonus commented Apr 29, 2022

Sure thing, I propose to let's make static checks work only for ~newst version of elixir (that will support 1.6 syntaxes) & run tests for 1.6, 1.10 & 1.13 & corresponding OTP.

@dantswain
Copy link
Collaborator

dantswain commented Apr 29, 2022 via email

@Argonus Argonus mentioned this pull request May 4, 2022
@Argonus Argonus force-pushed the github-actions-checks-cdn branch 5 times, most recently from 2732384 to f8e37bb Compare May 5, 2022 07:57
Support multiple otp & elixir version for tests
Support only newst version for static check.
Handle backward compability in tests
@Argonus Argonus force-pushed the github-actions-checks-cdn branch from f8e37bb to 5a3b861 Compare May 5, 2022 08:11
@Argonus
Copy link
Contributor Author

Argonus commented May 5, 2022

Versions added.
Static code is currently locked at Elixir Version 12. To bump it to version 13, I'll have to drop support for Elixir 1.6.
It looks like sth that could be done in the next major release.

Unfortunately, I'm not able to generate badges for README.md, so this is on you @dantswain :)

@Argonus
Copy link
Contributor Author

Argonus commented May 30, 2022

@dantswain Just a reminder ;)

Copy link
Collaborator

@dantswain dantswain left a comment

Choose a reason for hiding this comment

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

Thanks so much for doing this and sorry for the delay. Just a couple questions in the comments.

test/socket_test.exs Outdated Show resolved Hide resolved
.github/workflows/checks.yml Show resolved Hide resolved
test/integration/server0_p_10_p_1_test.exs Show resolved Hide resolved
@dantswain dantswain merged commit 07f0d66 into kafkaex:master Jun 2, 2022
@Argonus Argonus deleted the github-actions-checks-cdn branch November 9, 2022 09:32
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