Skip to content

Commit

Permalink
Drop support for Elixir 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
arturz committed Aug 5, 2024
1 parent 17a0d50 commit 76049ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,9 @@ jobs:

strategy:
matrix:
elixir: ["1.12", "1.13", "1.14", "1.15", "1.16", "1.17"]
elixir: ["1.13", "1.14", "1.15", "1.16", "1.17"]
otp: ["24", "25", "26", "27"]
exclude:
- elixir: "1.12"
otp: "25"
- elixir: "1.12"
otp: "26"
- elixir: "1.12"
otp: "27"
- elixir: "1.13"
otp: "26"
- elixir: "1.13"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ Media queries for responsive design in Phoenix LiveView, a server-rendered Elixi

## Installation

Before you begin, ensure you have the following prerequisites:

- Elixir 1.13+
- Phoenix LiveView 0.20+

Add live_view_responsive to your list of dependencies in mix.exs:

```elixir
Expand Down Expand Up @@ -259,7 +264,7 @@ defmodule ExampleApp.LiveViewResponsive do
And a function named `assign_{breakpoint}_media_query` is created, for example:
socket
|> assign_mobile_media_query(true)
|> assign_mobile_media_query(initial: true)
|> assign_tablet_media_query()
"""

Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule LiveViewResponsive.MixProject do
[
app: :live_view_responsive,
version: "0.1.0",
elixir: "~> 1.12",
elixir: "~> 1.13",
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [
warnings_as_errors: true
Expand All @@ -31,7 +31,7 @@ defmodule LiveViewResponsive.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:phoenix_live_view, ">= 0.18.0"},
{:phoenix_live_view, ">= 0.20.0"},
{:phoenix, ">= 1.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
Expand Down

0 comments on commit 76049ee

Please sign in to comment.