Add support for OTP 26 and 27 in CI 😰 #54
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |