-
Notifications
You must be signed in to change notification settings - Fork 383
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
Update CI, dependencies and fix deprecations #772
base: main
Are you sure you want to change the base?
Conversation
@@ -1202,7 +1202,7 @@ defmodule Timex do | |||
def day_to_num(unquote(atom)), do: unquote(day_num) | |||
end | |||
|
|||
Module.eval_quoted(__MODULE__, day_quoted, [], __ENV__) | |||
Code.eval_quoted(day_quoted, [], __ENV__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code.eval_quoted
exists in very early versions of Elixir, so this shouldn't impact the minimum Elixir version required for this library.
Test with current versions of dependencies Module.eval_quoted/4 is deprecated. Use Code.eval_quoted/3 instead
@@ -7,13 +7,20 @@ on: | |||
jobs: | |||
test: | |||
runs-on: ubuntu-latest | |||
continue-on-error: ${{ matrix.experimental }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea with this experimental flag is it allows testing with release candidates of future elixir versions without breaking the build or preventing a merge, but it allows the results of to be seen in CI.
Would be nice if this could get merged and released! |
@bitwalker Any chance you could review this? Is there anyone else able to approve the workflow and merge PRs? |
Summary of changes
Updates Timex CI and dependencies to resolve compiler warnings and ensure that the code compiles and tests pass in the most recent 2 versions of Elixir (if additional older versions are desired, those can be added)
Fixes #771
Checklist
https://github.com/elixir-gettext/gettext/blob/main/CHANGELOG.md#v0260