Skip to content

chore(release): v0.1.1 #44

chore(release): v0.1.1

chore(release): v0.1.1 #44

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-20.04
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.13.x
otp: 22.x
- pair:
elixir: 1.17.x
otp: 27.x
lint: true
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
id: beam
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}
- name: Deps Cache
uses: actions/cache@v4
with:
path: deps
key: mix-otp-${{ matrix.pair.otp }}-deps-${{ hashFiles('**/mix.lock') }}
- run: mix deps.get --check-locked
- run: mix deps.compile
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix dialyzer
if: ${{ matrix.lint }}
- run: mix test