Skip to content

Commit

Permalink
Use Elixir 1.18; drop support for Elixir 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
sax committed Jan 24, 2025
1 parent 61fc4fd commit 6689324
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 35 deletions.
51 changes: 22 additions & 29 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
matrix:
include:
- pair:
elixir: 1.15.8
otp: 25.3.2.12
elixir: 1.16
otp: 25
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Build Test
runs-on: ubuntu-22.04
env:
Expand All @@ -31,7 +31,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -59,11 +58,11 @@ jobs:
matrix:
include:
- pair:
elixir: 1.15.8
otp: 25.3.2.12
elixir: 1.16
otp: 25
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Build Dev
runs-on: ubuntu-22.04
env:
Expand All @@ -76,7 +75,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -104,11 +102,11 @@ jobs:
matrix:
include:
- pair:
elixir: 1.15.8
otp: 25.3.2.12
elixir: 1.16
otp: 25
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Test
needs: build_test
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -136,7 +134,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand All @@ -156,11 +153,11 @@ jobs:
matrix:
include:
- pair:
elixir: 1.15.8
otp: 25.3.2.12
elixir: 1.16
otp: 25
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Credo + Dialyxir
needs: build_test
runs-on: ubuntu-22.04
Expand All @@ -174,7 +171,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -202,8 +198,8 @@ jobs:
matrix:
include:
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Docs
needs: build_dev
runs-on: ubuntu-22.04
Expand All @@ -217,7 +213,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand All @@ -237,8 +232,8 @@ jobs:
matrix:
include:
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Audit
needs: build_dev
runs-on: ubuntu-22.04
Expand All @@ -252,7 +247,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -284,8 +278,8 @@ jobs:
matrix:
include:
- pair:
elixir: 1.17.3
otp: 27.0
elixir: 1.18
otp: 27
name: Publish to Hex
if: github.ref == 'refs/heads/main'
needs:
Expand All @@ -301,7 +295,6 @@ jobs:
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
version-type: strict
- name: Cache deps
uses: actions/cache@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
elixir 1.17.3-otp-27
erlang 27.1.2
postgres 17.0
elixir 1.18.2-otp-27
erlang 27.2.1
postgres 17.2
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Unreleased

- require Elixir 1.15 or greater
- test against the latest version of Erlang and Elixir
- Test against Elixir 1.18.
- **Breaking change:** drop support for Elixir 1.15.

## 2.0.0

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule EctoEmail.MixProject do
description: "An Ecto.Type for email address fields",
dialyzer: dialyzer(),
docs: docs(),
elixir: "~> 1.15",
elixir: "~> 1.16",
elixirc_paths: elixirc_paths(Mix.env()),
homepage_url: @scm_url,
name: "EctoEmail",
Expand Down

0 comments on commit 6689324

Please sign in to comment.