Skip to content

Commit df2180b

Browse files
authored
Bump elixir (#164)
* Bump elixir to 1.14 / otp 25 It was already that version in CI, but not in CD or the dockerfile. `mix docs` was failing on 1.13 in CD. * attribute `version` is obsolete in docker-comopse.yml
1 parent 53f55f3 commit df2180b

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
- name: Setup Elixir
1212
uses: erlef/setup-beam@v1
1313
with:
14-
otp-version: '24'
15-
elixir-version: '1.13'
14+
otp-version: '25'
15+
elixir-version: '1.14'
1616
- name: Checkout
1717
uses: actions/checkout@v3
1818
- name: setup hex

.github/workflows/retire.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- uses: erlef/setup-beam@v1
3636
with:
37-
otp-version: '24'
38-
elixir-version: '1.13'
37+
otp-version: '25'
38+
elixir-version: '1.14'
3939
- run: echo "Attempting to retire version $VERSION"
4040
- run: mix hex.config api_key "$HEX_AUTH_KEY"
4141
env:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/prima/elixir:1.12.2-2
1+
FROM public.ecr.aws/prima/elixir:1.14.2-5
22

33
WORKDIR /code
44

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
web:
43
build: .

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Teleplug.MixProject do
88
[
99
app: :teleplug,
1010
version: @version,
11-
elixir: "~> 1.12",
11+
elixir: "~> 1.14",
1212
start_permanent: Mix.env() == :prod,
1313
deps: deps(),
1414
package: package(),

0 commit comments

Comments
 (0)