Skip to content

Commit

Permalink
Upgrade test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtaylor committed Nov 23, 2024
1 parent 4b0de12 commit 953685b
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,15 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.13.x
otp: 24.x
- elixir: 1.17.x
otp: 27.x
check_formatted: true
- elixir: 1.12.x
otp: 24.x
- elixir: 1.12.x
otp: 23.x
- elixir: 1.12.x
otp: 22.x
- elixir: 1.11.x
otp: 24.x
- elixir: 1.11.x
otp: 23.x
- elixir: 1.11.x
otp: 22.x
- elixir: 1.11.x
otp: 21.x
- elixir: 1.10.x
otp: 23.x
- elixir: 1.9.x
otp: 22.x

steps:
- uses: actions/checkout@v2

- uses: erlef/setup-elixir@v1
id: setup-elixir
- uses: erlef/setup-beam@v1
id: setup-beam
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
Expand All @@ -43,7 +25,7 @@ jobs:
id: mix-cache
with:
path: deps
key: ${{ runner.os }}-${{ steps.setup-elixir.outputs.otp-version }}-${{ steps.setup-elixir.outputs.elixir-version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
key: ${{ runner.os }}-${{ steps.setup-beam.outputs.otp-version }}-${{ steps.setup-beam.outputs.elixir-version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}

- name: Install Mix Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
Expand All @@ -64,7 +46,7 @@ jobs:
id: plt-cache
with:
path: priv/plts
key: ${{ runner.os }}-${{ steps.setup-elixir.outputs.otp-version }}-${{ steps.setup-elixir.outputs.elixir-version }}-plts-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
key: ${{ runner.os }}-${{ steps.setup-beam.outputs.otp-version }}-${{ steps.setup-beam.outputs.elixir-version }}-plts-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}

- name: Create PLTs
if: steps.plt-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 953685b

Please sign in to comment.