Skip to content

Merge pull request #117 from WTTJ/dependabot/hex/ex_doc-0.34.0 #420

Merge pull request #117 from WTTJ/dependabot/hex/ex_doc-0.34.0

Merge pull request #117 from WTTJ/dependabot/hex/ex_doc-0.34.0 #420

Workflow file for this run

name: Elixir CI
on:
push:
pull_request:
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
otp: ["23.x", "24.x", "25.x"]
elixir: ["1.12.x", "1.13.x", "1.14.x"]
exclude:
- elixir: 1.12.x
otp: 25.x
include:
- elixir: 1.15.x
otp: 24.x
- elixir: 1.15.x
otp: 25.x
- elixir: 1.15.x
otp: 26.x
- elixir: 1.16.x
otp: 24.x
- elixir: 1.16.x
otp: 25.x
- elixir: 1.16.x
otp: 26.x
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
env:
ImageOS: ubuntu20
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test