Skip to content

CI

CI #68

Workflow file for this run

name: CI
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-20.04
env:
MIX_ENV: test
strategy:
fail-fast: true
# https://hexdocs.pm/elixir/1.16.0/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
matrix:
include:
- elixir: 1.16
otp: 24.x
- elixir: 1.16
otp: 25.x
- elixir: 1.16
otp: 26.x
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.unlock --all
- run: mix deps.get
- run: mix deps.compile
- run: mix compile --warnings-as-errors
- run: mix test