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