Skip to content

Commit 4993d2d

Browse files
authored
chore: upgrade CI BEAM versions and use .tool-versions (#77)
- Bump .tool-versions to elixir 1.19.5-otp-27 / erlang 27.3.4.8 - Update Linting and validate_unlocked jobs to read from .tool-versions via setup-beam's version-file input, removing hardcoded versions - Add OTP support ranges and EOL dates to matrix comments Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 71fe4f4 commit 4993d2d

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
strategy:
1818
matrix:
1919
# https://endoflife.date/elixir
20-
# elixir >= 1.15
20+
# elixir >= 1.15 (security patches through current)
2121
# https://endoflife.date/erlang
22-
# erlang >= 26
22+
# otp >= 26 (26 EOL: 2026-05-15, 27 EOL: 2027-05-20, 28 EOL: 2028-05-20)
2323
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html
2424
# elixir-otp version pairs defined
2525
runtime: [
26-
# 1.15.x
26+
# 1.15.x supports otp 24-26
2727
{ elixir: 1.15.x, otp: 26.x },
28-
# 1.16.x
28+
# 1.16.x supports otp 24-26
2929
{ elixir: 1.16.x, otp: 26.x },
30-
# 1.17.x
30+
# 1.17.x supports otp 25-27
3131
{ elixir: 1.17.x, otp: 26.x },
3232
{ elixir: 1.17.x, otp: 27.x },
33-
# 1.18.x
33+
# 1.18.x supports otp 25-27
3434
{ elixir: 1.18.x, otp: 26.x },
3535
{ elixir: 1.18.x, otp: 27.x },
36-
# 1.19.x
36+
# 1.19.x supports otp 26-28
3737
{ elixir: 1.19.x, otp: 26.x },
3838
{ elixir: 1.19.x, otp: 27.x },
3939
{ elixir: 1.19.x, otp: 28.x },
@@ -85,8 +85,8 @@ jobs:
8585
id: beam
8686
uses: erlef/setup-beam@v1
8787
with:
88-
otp-version: 27.x
89-
elixir-version: 1.18.x
88+
version-file: .tool-versions
89+
version-type: strict
9090

9191
- name: Restore dependencies cache
9292
id: mix_cache
@@ -152,8 +152,8 @@ jobs:
152152
id: beam
153153
uses: erlef/setup-beam@v1
154154
with:
155-
otp-version: 27.x
156-
elixir-version: 1.18.x
155+
version-file: .tool-versions
156+
version-type: strict
157157

158158
- name: Restore dependencies cache
159159
id: mix_cache

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
elixir 1.15.7-otp-26
2-
erlang 26.1.2
1+
elixir 1.19.5-otp-27
2+
erlang 27.3.4.8

0 commit comments

Comments
 (0)