Skip to content

Simplify logic using req #52

Simplify logic using req

Simplify logic using req #52

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: OTP ${{matrix.pair.otp}} / Elixir ${{matrix.pair.elixir}}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: "1.13"
otp: "24.3.4.10"
- pair:
elixir: "1.17"
otp: "27.0.1"
lint: lint
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@main
with:
otp-version: ${{ matrix.pair.otp }}
elixir-version: ${{ matrix.pair.elixir }}
version-type: strict
- run: mix deps.get --check-locked
- run: mix format --check-formatted
- run: mix test --slowest 5
- run: mix coveralls.github