Skip to content

WIP

WIP #23

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
env:
MIX_ENV: test
jobs:
test:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
os:
- ubuntu-22.04
- windows-2022
otp:
- "27.0"
- "26.2.5.1"
- "25.3.2.12"
elixir:
- "1.17.1"
- "1.16.3"
- "1.15.8"
- "1.14.5"
exclude:
- otp: "27.0"
elixir: "1.16.3"
- otp: "27.0"
elixir: "1.15.8"
- otp: "27.0"
elixir: "1.14.5"
- otp: "27.0"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: erlef/[email protected]
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
version-type: strict
- uses: actions/cache@v4
id: cache
with:
path: |
_build
deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
- if: steps.cache.outputs.cache-hit != 'true'
run: mix deps.get
- run: mix test