Skip to content

Commit f0d5727

Browse files
committed
Remove errors and warnings from 1.19 compile
1 parent a555ed7 commit f0d5727

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/elixir.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ jobs:
1818
- "1.16"
1919
- "1.17"
2020
- "1.18"
21+
- "1.19"
2122
otp:
2223
- "25"
2324
- "26"
2425
- "27"
2526
- "28"
2627
# see https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
2728
exclude:
29+
- elixir: 1.19
30+
otp: 25
2831
- elixir: 1.17
2932
otp: 28
3033
- elixir: 1.16

mix.exs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@ defmodule Absinthe.Mixfile do
88
[
99
app: :absinthe,
1010
version: @version,
11-
elixir: "~> 1.11",
11+
elixir: "~> 1.15",
1212
elixirc_paths: elixirc_paths(Mix.env()),
1313
build_embedded: Mix.env() == :prod,
1414
start_permanent: Mix.env() == :prod,
1515
package: package(),
1616
source_url: @source_url,
17-
preferred_cli_env: [
18-
dialyzer: :test
19-
],
2017
docs: [
2118
source_ref: "v#{@version}",
2219
main: "overview",
@@ -39,6 +36,10 @@ defmodule Absinthe.Mixfile do
3936
]
4037
end
4138

39+
def cli do
40+
[preferred_envs: [dialyzer: :test]]
41+
end
42+
4243
defp package do
4344
[
4445
description: "GraphQL for Elixir",
@@ -82,7 +83,6 @@ defmodule Absinthe.Mixfile do
8283
{:ex_doc, "~> 0.22", only: :dev},
8384
{:benchee, ">= 1.0.0", only: :dev},
8485
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
85-
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
8686
{:makeup_graphql, "~> 0.1.0", only: :dev}
8787
]
8888
end

0 commit comments

Comments
 (0)