Skip to content

Commit

Permalink
Bump elixir (#164)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cosarara authored Dec 12, 2024
1 parent 53f55f3 commit df2180b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
otp-version: '24'
elixir-version: '1.13'
otp-version: '25'
elixir-version: '1.14'
- name: Checkout
uses: actions/checkout@v3
- name: setup hex
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/retire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: '24'
elixir-version: '1.13'
otp-version: '25'
elixir-version: '1.14'
- run: echo "Attempting to retire version $VERSION"
- run: mix hex.config api_key "$HEX_AUTH_KEY"
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/prima/elixir:1.12.2-2
FROM public.ecr.aws/prima/elixir:1.14.2-5

WORKDIR /code

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
web:
build: .
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Teleplug.MixProject do
[
app: :teleplug,
version: @version,
elixir: "~> 1.12",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
Expand Down

0 comments on commit df2180b

Please sign in to comment.