diff options
author | Badlop <badlop@process-one.net> | 2022-09-02 11:28:02 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2022-09-06 13:33:58 +0200 |
commit | 9a3ba9d76f742c7484f7d9f08b12790bf465f605 (patch) | |
tree | e8a9043b599dca8d10720c33454f873932633d2a /.github/workflows/runtime.yml | |
parent | Add function for getting room diagnostics (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/runtime.yml | 17 |
1 files changed, 3 insertions, 14 deletions
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: |