Skip to content

Simplify logic using req #46

Simplify logic using req

Simplify logic using req #46

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
check-format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: erlef/setup-beam@v1
with:
otp-version: 24.0.1
elixir-version: 1.12.1
- run: mix deps.get
- run: mix format --check-formatted
test:
name: OTP ${{matrix.erlang}} / Elixir ${{matrix.elixir}}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- erlang: 24.0.1
elixir: 1.12.1
- erlang: 23.3
elixir: 1.11.4
- erlang: 23.3
elixir: 1.10.4
- erlang: 22.3
elixir: 1.9.4
- erlang: 21.3
elixir: 1.8.2
- erlang: 21.3
elixir: 1.7.4
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.erlang}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix test
- run: mix coveralls.github