From 859626badafe02d9c71407da30df0ad234e2cbc7 Mon Sep 17 00:00:00 2001 From: Vasu Adari Date: Tue, 7 May 2024 10:21:59 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89f88b3..557a91b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,14 +8,18 @@ on: jobs: build: runs-on: ubuntu-latest - + name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} + strategy: + matrix: + otp: ['20.3', '21.3', '22.2'] + elixir: ['1.8.2', '1.9.4'] steps: - - uses: actions/checkout@v3 - name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} - strategy: - matrix: - otp: ['20.3', '21.3', '22.2'] - elixir: ['1.8.2', '1.9.4'] + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + elixir-version: ${{matrix.elixir}} + - name: Install dependencies run: mix deps.get