Skip to content

Commit

Permalink
Update CI with current Elixir and Erlang/OTP versions
Browse files Browse the repository at this point in the history
> I am trying to maintain (in CI) the latest 2 major versions, so Elixir 15+ and OTP 25+; wait 2-3 months and it will be Elixir 16+ and OTP 26+

elixir-tesla#623 (comment)
  • Loading branch information
nathany-copia committed Jun 19, 2024
1 parent 8b7cd3d commit 60b9e49
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.13'
otp-version: '24.3'
elixir-version: '1.15'
otp-version: '25.3'
- name: Restore dependencies cache
uses: actions/cache@v4
with:
Expand Down
44 changes: 30 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@ jobs:
Test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
elixir:
- 1.14
- 1.13
otp:
- 25.3
- 24.3
include:
- otp: '25.3'
elixir: '1.15'
experimental: false
- otp: '26.2'
elixir: '1.16'
experimental: false
- otp: '26.2'
elixir: '1.17'
experimental: true
- otp: '27.0'
elixir: '1.17'
experimental: true
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
Expand Down Expand Up @@ -41,14 +49,22 @@ jobs:
Test-gun1:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} - Gun1
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
elixir:
- 1.14
- 1.13
otp:
- 25.3
- 24.3
include:
- otp: '25.3'
elixir: '1.15'
experimental: false
- otp: '26.2'
elixir: '1.16'
experimental: false
- otp: '26.2'
elixir: '1.17'
experimental: true
- otp: '27.0'
elixir: '1.17'
experimental: true
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
Expand Down Expand Up @@ -83,8 +99,8 @@ jobs:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.13'
otp-version: '24.3'
elixir-version: '1.15'
otp-version: '25.3'
version-type: strict
- name: Restore dependencies cache
uses: actions/cache@v4
Expand Down

0 comments on commit 60b9e49

Please sign in to comment.