Skip to content

Commit 2644303

Browse files
committed
chore: update CI to test only modern Elixir/OTP versions
- Update test.yml matrix to only test Elixir 1.18 & 1.19 - Update test.yml matrix to only test OTP 27 & 28 - Reduce from 18 to 4 matrix combinations - Update mix.exs minimum Elixir version to ~> 1.18 - Remove exclude section as all combinations are compatible
1 parent 77ce32a commit 2644303

File tree

3 files changed

+3
-51
lines changed

3 files changed

+3
-51
lines changed

.github/workflows/elixir_ci.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
elixir: ['1.14', '1.15', '1.16', '1.17', '1.18']
16-
otp: ['25', '26', '27', '28']
17-
exclude:
18-
# Exclude incompatible combinations
19-
- elixir: '1.14'
20-
otp: '28'
21-
- elixir: '1.15'
22-
otp: '28'
15+
elixir: ['1.18', '1.19']
16+
otp: ['27', '28']
2317

2418
steps:
2519
- name: Checkout code

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Caddy.MixProject do
88
[
99
app: :caddy,
1010
version: @version,
11-
elixir: "~> 1.12",
11+
elixir: "~> 1.18",
1212
start_permanent: Mix.env() == :prod,
1313
name: "Caddy",
1414
description: "Run Caddy Reverse Proxy Server in supervisor tree",

0 commit comments

Comments
 (0)