Skip to content

Change requests from upstream #94

Change requests from upstream

Change requests from upstream #94

Workflow file for this run

name: Elixir
on:
push:
branches:
- master
pull_request:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MIX_ENV: test
# https://github.com/elixir-lang/elixir/blob/master/lib/elixir/pages/compatibility-and-deprecations.md
jobs:
elixir_1_17:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [25.x, 26.x, 27.x]
elixir: [1.17.x]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix do deps.get, compile --warnings-as-errors
- run: mix format --dry-run --check-formatted
- run: mix coveralls.github
elixir_1_16:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [24.x, 25.x, 26.x]
elixir: [1.16.x]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix do deps.get, compile --warnings-as-errors
- run: mix format --dry-run --check-formatted
- run: mix coveralls.github
elixir_1_15:
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [24.x, 25.x, 26.x]
elixir: [1.15.x]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix do deps.get, compile --warnings-as-errors
- run: mix format --dry-run --check-formatted
- run: mix coveralls.github
elixir_1_14:
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [24.x, 25.x]
elixir: [1.14.x]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix do deps.get, compile --warnings-as-errors
- run: mix coveralls.github