Skip to content

Commit 1414ccc

Browse files
authored
Add support for OTP 28 and Elixir 1.18 (#224)
This commit updates the CI workflow to introduce support for testing with the latest versions of Erlang/OTP and Elixir. List of changes: - adding OTP 28 and Elixir 1.18 to the CI matrix - bumping the actions/checkout action to version 5 - bumping the minimum Elixir version to 1.12 and the stream_data dependency to 1.2.0 - specifying the Elixir and OTP versions in the CI matrix as strings to avoid parsing issues - support OTP/28 in CI - updating the build runner to ubuntu-22.04
1 parent cd6aa59 commit 1414ccc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
env:
1313
MIX_ENV: test
1414
strategy:
1515
fail-fast: false
1616
matrix:
1717
include:
1818
- pair:
19-
elixir: 1.8.2
20-
otp: 20.3.x
19+
elixir: "1.12"
20+
otp: "24"
2121
- pair:
22-
elixir: 1.18.x
23-
otp: 27.x
22+
elixir: "1.18"
23+
otp: "28"
2424
lint: lint
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727

2828
- uses: erlef/setup-beam@v1
2929
with:

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Decimal.Mixfile do
88
[
99
app: :decimal,
1010
version: @version,
11-
elixir: "~> 1.8",
11+
elixir: "~> 1.12",
1212
deps: deps(),
1313
name: "Decimal",
1414
source_url: @source_url,
@@ -25,7 +25,7 @@ defmodule Decimal.Mixfile do
2525
defp deps() do
2626
[
2727
{:ex_doc, ">= 0.0.0", only: :dev},
28-
{:stream_data, "~> 0.5.0", only: :test}
28+
{:stream_data, "~> 1.2.0", only: :test}
2929
]
3030
end
3131

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"},
66
"makeup_erlang": {:hex, :makeup_erlang, "1.0.1", "c7f58c120b2b5aa5fd80d540a89fdf866ed42f1f3994e4fe189abebeab610839", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "8a89a1eeccc2d798d6ea15496a6e4870b75e014d1af514b1b71fa33134f57814"},
77
"nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"},
8-
"stream_data": {:hex, :stream_data, "0.5.0", "b27641e58941685c75b353577dc602c9d2c12292dd84babf506c2033cd97893e", [:mix], [], "hexpm", "012bd2eec069ada4db3411f9115ccafa38540a3c78c4c0349f151fc761b9e271"},
8+
"stream_data": {:hex, :stream_data, "1.2.0", "58dd3f9e88afe27dc38bef26fce0c84a9e7a96772b2925c7b32cd2435697a52b", [:mix], [], "hexpm", "eb5c546ee3466920314643edf68943a5b14b32d1da9fe01698dc92b73f89a9ed"},
99
}

0 commit comments

Comments
 (0)