Skip to content

Commit

Permalink
Merge pull request #88 from rabbitmq/enable-erlang-25-in-ci
Browse files Browse the repository at this point in the history
Enable Erlang/OTP 25 in CI
  • Loading branch information
dumbbell authored Apr 25, 2022
2 parents d620618 + 0b0c6db commit 95d2f9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ jobs:

strategy:
matrix:
otp_version: [23, 24]
otp_version: [23, 24, '25.0-rc3']
os: [ubuntu-latest, windows-latest]

env:
LATEST_OTP_RELEASE: 24
RUN_DIALYZER_ON_OTP_RELEASE: 24

steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
id: install-erlang
with:
otp-version: ${{matrix.otp_version}}
rebar3-version: '3.16.1'
rebar3-version: '3.18.0'

- name: Restore Dialyzer PLT files from cache
uses: actions/cache@v2
if: ${{ matrix.otp_version == env.LATEST_OTP_RELEASE && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.otp_version == env.RUN_DIALYZER_ON_OTP_RELEASE && matrix.os == 'ubuntu-latest' }}
with:
path: _build/*/rebar3_*_plt
key: dialyzer-plt-cache-${{ steps.install-erlang.outputs.otp-version }}-${{ runner.os }}-${{ hashFiles('rebar.config*') }}-v1
Expand All @@ -48,7 +48,7 @@ jobs:
run: rebar3 as test coveralls send

- name: Dialyzer
if: ${{ matrix.otp_version == env.LATEST_OTP_RELEASE && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.otp_version == env.RUN_DIALYZER_ON_OTP_RELEASE && matrix.os == 'ubuntu-latest' }}
run: rebar3 clean && rebar3 as test dialyzer

Finish:
Expand Down

0 comments on commit 95d2f9b

Please sign in to comment.