From 57cf8c538083b8eb714ec76f2ebdbb4d5a9d7e7d Mon Sep 17 00:00:00 2001 From: Lars Bahner Date: Mon, 12 Feb 2024 19:00:33 +0100 Subject: [PATCH] Chore match OTP and Elixir versions. Now one size fits all --- .github/workflows/testsuite.yaml | 55 +++----------------------------- 1 file changed, 4 insertions(+), 51 deletions(-) diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 11617f7..3b9e2cf 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml @@ -18,63 +18,16 @@ permissions: jobs: otp25: - name: Build and for test OTP 25 + name: Build and for test OTP runs-on: ubuntu-latest strategy: fail-fast: true matrix: - otp: ["25.1.2"] - elixir: ["1.14.3", "1.15.2"] + otp: ["24.3.4.16", "25.3.2.9", "26.2.2"] + elixir: ["1.14.5", "1.15.7", "1.16.1"] services: ipfs: - image: ipfs/kubo:v0.23.0 - ports: - - 5001:5001 - steps: - - uses: actions/checkout@v3 - - name: Set up Elixir - uses: erlef/setup-beam@v1 - with: - elixir-version: ${{matrix.elixir}} - otp-version: ${{matrix.otp}} - - name: Restore dependencies cache - uses: actions/cache@v3 - id: dependency-cache - with: - path: deps - key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} - restore-keys: ${{ runner.os }}-mix- - - name: Install dependencies - if: steps.dependency-cache.outputs.cache-hit != 'true' - run: | - mix local.rebar --force - mix local.hex --force - mix deps.get - - name: Lint - run: | - mix format --check-formatted - mix deps.unlock --check-unused - mix deps.get - mix compile --warnings-as-errors - - name: Run dialyzer integrity checks - timeout-minutes: 10 - run: | - mix dialyzer - - name: Run test suite - run: | - #mix coveralls - mix coveralls.github - otp26: - name: Build and for test OTP 26 - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - otp: ["26.0.2"] - elixir: ["1.15.2"] - services: - ipfs: - image: ipfs/kubo:v0.23.0 + image: ipfs/kubo:v0.26.0 ports: - 5001:5001 steps: