Skip to content

Merge pull request #7 from jaimeiniesta/upgrade-httpoison #5

Merge pull request #7 from jaimeiniesta/upgrade-httpoison

Merge pull request #7 from jaimeiniesta/upgrade-httpoison #5

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir_version: "1.15.4"
otp_version: "26.0.2"
lint: true
- elixir_version: "1.14.5"
otp_version: "25.3.2.2"
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir_version }}
otp-version: ${{ matrix.otp_version }}
- run: mix deps.get
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix test