Skip to content

Commit d709d4e

Browse files
committed
Merge pull request #114 from tfwright/otp-support
Drop support for older OTP
2 parents 7b536e3 + 7cb70ba commit d709d4e

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
elixir: ["1.13.x", "1.14.x", "1.15.x"]
21-
otp: ["24.x", "25.x"]
20+
elixir: ["1.15.x", "1.16.x", "1.17.x"]
21+
otp: ["25.x", "26.x"]
2222

2323
steps:
2424
- uses: actions/checkout@v2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM hexpm/elixir:1.15.7-erlang-25.3.2.7-debian-buster-20230612-slim
1+
FROM hexpm/elixir:1.16.0-erlang-26.2.1-debian-bullseye-20231009-slim
22

33
RUN apt-get update -y && apt-get install -y build-essential git nodejs npm curl \
44
&& apt-get clean && rm -f /var/lib/apt/lists/*_*

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule LiveAdmin.MixProject do
99
name: "LiveAdmin",
1010
description: "A admin UI for Phoenix applications built with LiveView",
1111
version: @version,
12-
elixir: "~> 1.11",
12+
elixir: "~> 1.15",
1313
start_permanent: Mix.env() == :prod,
1414
elixirc_paths: elixirc_paths(Mix.env()),
1515
deps: deps(),

test/live_admin/components/container_test.exs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ defmodule LiveAdmin.Components.ContainerTest do
5151
|> element("#list")
5252
|> render_hook("action", %{name: "user_action", ids: []})
5353

54-
assert_patched(view, "/user?page=1&per=10&sort-attr=id&sort-dir=asc")
54+
assert_patch(view)
5555
end
5656

5757
test "runs task", %{view: view} do
@@ -115,9 +115,7 @@ defmodule LiveAdmin.Components.ContainerTest do
115115
end
116116

117117
test "redirects with prefix param", %{response: response} do
118-
assert {:error,
119-
{:live_redirect,
120-
%{kind: :push, to: "/user?page=1&per=10&prefix=alt&sort-attr=id&sort-dir=asc"}}} =
118+
assert {:error, {:live_redirect, %{kind: :push, to: "/user" <> _}}} =
121119
response
122120
end
123121
end

0 commit comments

Comments
 (0)