From 403ca96e76a79d5787c04a34bc11ef7c6aa3940c Mon Sep 17 00:00:00 2001 From: Chris Bailey Date: Tue, 24 Oct 2023 11:52:20 +0100 Subject: [PATCH] Test matrix --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be9fd4..503e371 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,18 +15,20 @@ concurrency: jobs: lint-and-test: - env: - ELIXIR_VERSION: 1.12.3 - OTP_VERSION: 24.2 runs-on: ubuntu-latest + name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} + strategy: + matrix: + otp: ["24.2", "26.1"] + elixir: ["1.12.3", "1.15.7"] steps: - name: Checkout Github repo uses: actions/checkout@v3.0.2 - name: Setup BEAM Env uses: erlef/setup-beam@v1.15 with: - otp-version: ${{ env.OTP_VERSION }} - elixir-version: ${{ env.ELIXIR_VERSION }} + otp-version: ${{matrix.otp}} + elixir-version: ${{matrix.elixir}} - name: Setup Cache uses: actions/cache@v3.0.4 id: mix-cache