Skip to content

Commit ac268dc

Browse files
committed
Add support for Elixir v1.18
1 parent 388b564 commit ac268dc

File tree

8 files changed

+13
-10
lines changed

8 files changed

+13
-10
lines changed

.github/workflows/elixir-build-and-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
otp: 26.2
3232
- pair:
3333
elixir: 1.17.3
34-
otp: 27.0
34+
otp: 27.3
35+
- pair:
36+
elixir: 1.18.3
37+
otp: 27.3
3538
build-flags: --warnings-as-errors
3639
steps:
3740
- name: Checkout repository

.github/workflows/elixir-dialyzer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
MIX_ENV: dev
1717
strategy:
1818
matrix:
19-
elixir: ["1.17.2"]
20-
otp: ["27.0.1"]
19+
elixir: ["1.18.3"]
20+
otp: ["27.3.0"]
2121

2222
steps:
2323
- name: Checkout repository

.github/workflows/elixir-quality-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
elixir: ["1.17.2"]
18-
otp: ["27.0.1"]
17+
elixir: ["1.18.3"]
18+
otp: ["27.3.0"]
1919

2020
steps:
2121
- name: Checkout repository

lib/rdf/model/literal/datatype.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ defmodule RDF.Literal.Datatype do
225225
end
226226

227227
# credo:disable-for-next-line Credo.Check.Refactor.LongQuoteBlocks
228-
quote do
228+
quote generated: true do
229229
@behaviour unquote(__MODULE__)
230230

231231
@doc !"""

lib/rdf/serialization/encoder.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ defmodule RDF.Serialization.Encoder do
5252
@optional_callbacks stream: 2
5353

5454
defmacro __using__(_) do
55-
quote bind_quoted: [], unquote: true do
55+
quote bind_quoted: [], unquote: true, generated: true do
5656
@behaviour unquote(__MODULE__)
5757

5858
@impl unquote(__MODULE__)

lib/rdf/xsd/datatype.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ defmodule RDF.XSD.Datatype do
185185

186186
defmacro __using__(opts) do
187187
# credo:disable-for-next-line Credo.Check.Refactor.LongQuoteBlocks
188-
quote do
188+
quote generated: true do
189189
defstruct [:value, :uncanonical_lexical]
190190

191191
@behaviour unquote(__MODULE__)

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"credo": {:hex, :credo, "1.7.8", "9722ba1681e973025908d542ec3d95db5f9c549251ba5b028e251ad8c24ab8c5", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "cb9e87cc64f152f3ed1c6e325e7b894dea8f5ef2e41123bd864e3cd5ceb44968"},
66
"decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"},
77
"deep_merge": {:hex, :deep_merge, "1.0.0", "b4aa1a0d1acac393bdf38b2291af38cb1d4a52806cf7a4906f718e1feb5ee961", [:mix], [], "hexpm", "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"},
8-
"dialyxir": {:hex, :dialyxir, "1.4.4", "fb3ce8741edeaea59c9ae84d5cec75da00fa89fe401c72d6e047d11a61f65f70", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "cd6111e8017ccd563e65621a4d9a4a1c5cd333df30cebc7face8029cacb4eff6"},
8+
"dialyxir": {:hex, :dialyxir, "1.4.5", "ca1571ac18e0f88d4ab245f0b60fa31ff1b12cbae2b11bd25d207f865e8ae78a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b0fb08bb8107c750db5c0b324fa2df5ceaa0f9307690ee3c1f6ba5b9eb5d35c3"},
99
"earmark_parser": {:hex, :earmark_parser, "1.4.41", "ab34711c9dc6212dda44fcd20ecb87ac3f3fce6f0ca2f28d4a00e4154f8cd599", [:mix], [], "hexpm", "a81a04c7e34b6617c2792e291b5a2e57ab316365c2644ddc553bb9ed863ebefa"},
1010
"erlex": {:hex, :erlex, "0.2.7", "810e8725f96ab74d17aac676e748627a07bc87eb950d2b83acd29dc047a30595", [:mix], [], "hexpm", "3ed95f79d1a844c3f6bf0cea61e0d5612a42ce56da9c03f01df538685365efb0"},
1111
"ex_doc": {:hex, :ex_doc, "0.34.2", "13eedf3844ccdce25cfd837b99bea9ad92c4e511233199440488d217c92571e8", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "5ce5f16b41208a50106afed3de6a2ed34f4acfd65715b82a0b84b49d995f95c1"},

test/support/xsd_datatype_case.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule RDF.XSD.Datatype.Test.Case do
2222
facets = Keyword.get(opts, :facets)
2323

2424
# credo:disable-for-next-line Credo.Check.Refactor.LongQuoteBlocks
25-
quote do
25+
quote generated: true do
2626
alias RDF.XSD
2727
alias RDF.XSD.Datatype
2828
alias RDF.TestDatatypes.{Age, DecimalUnitInterval, DoubleUnitInterval, FloatUnitInterval}

0 commit comments

Comments
 (0)