Skip to content

Commit

Permalink
Upgrade Elixir and OTP in GitHub Workflow
Browse files Browse the repository at this point in the history
This change do:

* Add Elixir 1.12.1 and upgrade 1.11 to latest release.
* Add OTP 24.0.1 and upgrade major OTP release to latest release.
  • Loading branch information
thanabodee-c committed May 31, 2021
1 parent f14066e commit d0bfa1b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
with:
otp-version: '23.1'
elixir-version: '1.11.1'
otp-version: '24.0.1'
elixir-version: '1.12.1'
- uses: actions/cache@v2
name: Cache
with:
Expand All @@ -33,9 +33,12 @@ jobs:
name: Test on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1', '22.3.4.2', '21.3.8.16']
elixir: ['1.11.1']
otp_version: ['24.0.1', '23.3.4.1', '22.3.4.19', '21.3.8.23']
elixir: ['1.12.1', '1.11.4']
os: [ubuntu-18.04]
exclude:
- otp_version: '21.3.8.23'
elixir: '1.12.1'
env:
OTP_VERSION: ${{ matrix.otp_version }}
ELIXIR_VERSION: ${{ matrix.elixir }}
Expand All @@ -56,9 +59,12 @@ jobs:
name: Test on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1', '22.3.4.2', '21.3.8.16']
elixir: ['1.11.1']
otp_version: ['24.0.1', '23.3.4.1', '22.3.4.19', '21.3.8.23']
elixir: ['1.12.1', '1.11.4']
os: [ubuntu-18.04]
exclude:
- otp_version: '21.3.8.23'
elixir: '1.12.1'
env:
OTP_VERSION: ${{ matrix.otp_version }}
ELIXIR_VERSION: ${{ matrix.elixir }}
Expand Down Expand Up @@ -96,8 +102,8 @@ jobs:
name: Dialyze on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1']
elixir: ['1.11.1']
otp_version: ['24.0.1']
elixir: ['1.12.1']
os: [ubuntu-18.04]
env:
OTP_VERSION: ${{ matrix.otp_version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16']
otp_version: ['24.0.1', '23.3.4.1', '22.3.4.19', '21.3.8.23']
os: [ubuntu-18.04]
env:
OTP_VERSION: ${{ matrix.otp_version }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16']
otp_version: ['24.0.1', '23.3.4.1', '22.3.4.19', '21.3.8.23']
os: [ubuntu-18.04]
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit d0bfa1b

Please sign in to comment.