From 9a3ba9d76f742c7484f7d9f08b12790bf465f605 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 2 Sep 2022 11:28:02 +0200 Subject: Update Github Action workflows: Ubuntu 18 is deprecated and 22 is added CI: - Update Ubuntu to 20.04, the lowest available starting in April 2023 [1] - Don't test 19.3, as it isn't available in Ubuntu 20.04 - Use OTP 25 for Shellcheck, Coveralls, ECIL page - Use erlef instead of ErlGang, supports better old erlangs in new ubuntus - Remove support for rebar2 testing, as that's done in Runtime CI-19.3: - Add a temporary workflow for testing ejabberd with OTP 19.3 Container and Runtime: - Update Ubuntu to latest (22.04) [1] https://github.com/actions/runner-images/issues/6002 https://github.com/ErlGang/setup-erlang https://github.com/erlef/setup-beam --- .github/workflows/runtime.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to '.github/workflows/runtime.yml') diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index e7d18797a..b991e8b1a 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -31,20 +31,9 @@ jobs: strategy: fail-fast: false matrix: - otp: ['19.3', '21.3', '22.0', '24.3', '25'] + otp: ['19.3', '20.3', '24.3', '25'] rebar: ['rebar', 'rebar3'] - include: - - otp: '19.3' - os: ubuntu-18.04 - - otp: '21.3' - os: ubuntu-20.04 - - otp: '22.0' - os: ubuntu-20.04 - - otp: '24.3' - os: ubuntu-20.04 - - otp: '25' - os: ubuntu-20.04 - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest container: image: erlang:${{ matrix.otp }} @@ -132,7 +121,7 @@ jobs: elixir: '1.11.4' - otp: '25.0' elixir: '1.12.3' - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: -- cgit v1.2.3