Skip to content

v1.2.0

v1.2.0 #60

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
name: OTP ${{ matrix.otp-version }} / Elixir ${{ matrix.elixir-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html
include:
- elixir-version: 1.17.x
otp-version: 27.x
- elixir-version: 1.17.x
otp-version: 26.x
- elixir-version: 1.17.x
otp-version: 25.x
- elixir-version: 1.16.x
otp-version: 26.x
- elixir-version: 1.16.x
otp-version: 25.x
- elixir-version: 1.15.x
otp-version: 26.x
- elixir-version: 1.15.x
otp-version: 25.x
- elixir-version: 1.14.x
otp-version: 25.x
- elixir-version: 1.13.x
otp-version: 24.x
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp-version }}
elixir-version: ${{ matrix.elixir-version }}
- run: make dependencies
- run: make lint
- run: make test
- run: mix coveralls.github --parallel --flagname otp-${{ matrix.otp-version }}-elixir-${{ matrix.elixir-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: mix hex.publish --dry-run
env:
HEX_API_KEY: DRYRUN