Skip to content

Commit

Permalink
Merge pull request #290 from copia-wealth-studios/ci
Browse files Browse the repository at this point in the history
GitHub Actions: Fix warning on Elixir 1.17 and run tests on recent Elixir and OTP versions
  • Loading branch information
benwilson512 authored Jan 24, 2025
2 parents 1fd86df + b562456 commit 307c8bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
- "1.13"
- "1.14"
- "1.15"
- "1.16"
- "1.17"
otp:
- "24"
- "25"
- "26"
- "27"
include:
- elixir: "1.15"
otp: "26"
Expand All @@ -31,6 +34,16 @@ jobs:
otp: "26"
- elixir: "1.14"
otp: "26"
- elixir: "1.13"
otp: "27"
- elixir: "1.14"
otp: "27"
- elixir: "1.15"
otp: "27"
- elixir: "1.16"
otp: "27"
- elixir: "1.17"
otp: "24"

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion lib/absinthe/plug/graphiql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ defmodule Absinthe.Plug.GraphiQL do

defp find_socket_path(conn, socket) do
if endpoint = conn.private[:phoenix_endpoint] do
Enum.find_value(endpoint.__sockets__, :error, fn
Enum.find_value(endpoint.__sockets__(), :error, fn
# Phoenix 1.4
{path, ^socket, _opts} -> {:ok, path}
# Phoenix <= 1.3
Expand Down

0 comments on commit 307c8bb

Please sign in to comment.