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

CI housekeeping #1350

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kianmeng
Copy link
Contributor

@kianmeng kianmeng commented Jan 2, 2025

List of changes:

  • Bump GitHub actions
  • Enable back OTP 25 / Elixir 1.17 in test matrix
  • Resolve dialyzer errors in Elixir 1.18
  • Remove duplicate check on main branch upon a pull request
  • Support Elixir 1.18 to CI

List of changes:
- Bump GitHub actions
- Enable back OTP 25 / Elixir 1.17 in test matrix
- Resolve dialyzer errors in Elixir 1.18
- Remove duplicate check on main branch upon a pull request
- Support Elixir 1.18 to CI
@@ -48,7 +48,7 @@ defmodule Absinthe.Utils.Render do
end

defp escape_string(<<char::utf8, rest::binary>>, acc) do
escape_string(rest, [acc | <<char::utf8>>])
escape_string(rest, acc ++ [<<char::utf8>>])
end
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This resolves the following error with mix dialyzer on Elixir 1.18:

lib/absinthe/utils/render.ex:51:5:improper_list_constr
List construction (cons) will produce an improper list, because its second argument is bitstring().
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

Comment on lines -5 to +7
pull_request:
branches:
- main
pull_request:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove the duplicate check from 26 to 13 by limiting it to pull request branch branch only instead of adding main branch as well.

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.

1 participant