From 7517a4f3770a8d4da9c7a7c5aff29ed1fb5734e4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 11 Jun 2024 12:55:27 +0200 Subject: [PATCH] CI: Test also with Erlang/OTP 27; use major version number, let it pick latest --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dbce677..4520c311 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - otp: ['21.3', '25.3', '26'] + otp: [21, 25, 26, 27] runs-on: ubuntu-22.04 container: image: erlang:${{ matrix.otp }} @@ -39,7 +39,7 @@ jobs: path: .ejabberd-modules/sources/ejabberd-contrib - name: Get a compatible Rebar3 - if: matrix.otp <= '21.3' + if: matrix.otp <= 21 run: | rm rebar3 wget https://github.com/processone/ejabberd/raw/21.12/rebar3 @@ -105,7 +105,7 @@ jobs: run: sed -i '/mod_captcha_rust/d' modules_available.txt - name: Disable mod_s3_upload testing with old OTP - if: matrix.otp < '25' + if: matrix.otp < 25 run: sed -i '/mod_s3_upload/d' modules_available.txt - name: Install modules