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 #295

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

Conversation

kianmeng
Copy link
Contributor

@kianmeng kianmeng commented Jan 6, 2025

List of changes:

  • bump dialyzer and GitHub Actions
  • resolve dialyzer error
  • support Elixir 1.16/1.17/1.18 in CI matrix
  • support the minimum Elixir 1.13 in project

List of changes:
- bump dialyzer and GitHub Actions
- resolve dialyzer error
- support Elixir 1.16/1.17/1.18 in CI matrix
- support the minimum Elixir 1.13 in project
if @config do
def assets_config, do: Keyword.merge(@default_config, Keyword.get(config, :assets, []))
else
def assets_config, do: @default_config
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.

$ mix dialyzer
...
lib/absinthe/plug/graphiql/assets.ex:80:7:pattern_match_cov
The pattern
variable_config

can never match, because previous clauses completely cover the type
nil.

________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

@@ -1,9 +1,9 @@
%{
"absinthe": {:hex, :absinthe, "1.7.3", "128f9de8d8feab761a50483011c2652074de0a670316d0e24a4979daeb460c8f", [:mix], [{:dataloader, "~> 1.0.0", [hex: :dataloader, repo: "hexpm", optional: true]}, {:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:nimble_parsec, "~> 1.2.2 or ~> 1.3.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}, {:opentelemetry_process_propagator, "~> 0.2.1", [hex: :opentelemetry_process_propagator, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "6def91514f023832dbb3433baa166366881648932211f2e8146f9792b08b7bb3"},
"dialyxir": {:hex, :dialyxir, "1.3.0", "fd1672f0922b7648ff9ce7b1b26fcf0ef56dda964a459892ad15f6b4410b5284", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "00b2a4bcd6aa8db9dcb0b38c1225b7277dca9bc370b6438715667071a304696f"},
"dialyxir": {:hex, :dialyxir, "1.4.5", "ca1571ac18e0f88d4ab245f0b60fa31ff1b12cbae2b11bd25d207f865e8ae78a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b0fb08bb8107c750db5c0b324fa2df5ceaa0f9307690ee3c1f6ba5b9eb5d35c3"},
"earmark": {:hex, :earmark, "1.4.4", "4821b8d05cda507189d51f2caeef370cf1e18ca5d7dfb7d31e9cafe6688106a4", [:mix], [], "hexpm", "1f93aba7340574847c0f609da787f0d79efcab51b044bb6e242cae5aca9d264d"},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.

Unknown error occurred: %Protocol.UndefinedError{protocol: String.Chars, value: {80, 7}, description: ""}


Legacy warning:
lib/absinthe/plug/graphiql/assets.ex:80:7: The variable _config@1 can never match since previous clauses completely covered the type 'nil'
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

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