From ae4e2fb8a1ad5196edd105a2f6cb4ce75c4612f4 Mon Sep 17 00:00:00 2001 From: puppe1990 Date: Thu, 1 Oct 2026 14:24:50 -0300 Subject: [PATCH 1/2] ci: test Elixir 1.17/OTP 27 and 1.19/OTP 28 (#26) Matrix the quality job on the documented minimum and the current Cleat toolchain. Cancel in-progress runs on the same ref. --- .github/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b33965b..2082ca3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,17 +5,30 @@ on: branches: [main] pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: + name: Elixir ${{ matrix.elixir }} / OTP ${{ matrix.otp }} runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - elixir: "1.17" + otp: "27" + - elixir: "1.19" + otp: "28" steps: - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: - otp-version: "27" - elixir-version: "1.17" + otp-version: ${{ matrix.otp }} + elixir-version: ${{ matrix.elixir }} - name: Install dependencies run: mix deps.get From cd520e6c122aba5ba3736eec906a4177a9096109 Mon Sep 17 00:00:00 2001 From: puppe1990 Date: Thu, 1 Oct 2026 14:24:50 -0300 Subject: [PATCH 2/2] docs: require Elixir 1.17 and OTP 27 (#26) Match mix.exs and the README to the minimum the CI matrix runs. --- README.md | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 646cbf2..e80a8eb 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ vars, trigger deploys, and watch build and runtime logs. ## Install -Requires Elixir 1.15+ / OTP 26+. +Requires Elixir 1.17+ / OTP 27+. CI also runs Elixir 1.19 / OTP 28. ```bash git clone https://github.com/cleat-cloud/cleat-cli.git diff --git a/mix.exs b/mix.exs index 002fcc3..d45c9c2 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Cleat.MixProject do [ app: :cleat_cli, version: @version, - elixir: "~> 1.15", + elixir: "~> 1.17", start_permanent: Mix.env() == :prod, escript: escript(), deps: deps(),