Skip to content

Blend - test against older Req versions #37

Blend - test against older Req versions

Blend - test against older Req versions #37

Workflow file for this run

on:
pull_request:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir_version: '1.17'
otp_version: '27.0'
lint: true
- elixir_version: '1.17'
otp_version: '27.0'
req_0_4: true
- elixir_version: '1.16'
otp_version: '26.2.5'
- elixir_version: '1.15'
otp_version: '25.3.2.12'
- elixir_version: '1.14'
otp_version: '24.3.4.17'
- elixir_version: '1.13'
otp_version: '24.3.4.17'
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- run: cp blend/req_0_4.mix.lock mix.lock
if: ${{ matrix.req_0_4 }}
- run: mix deps.get --check-locked
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix test