Skip to content

Maintenance version updates #65

Maintenance version updates

Maintenance version updates #65

Workflow file for this run

name: Mix Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Elixir ${{ matrix.elixir }} with OTP ${{ matrix.otp }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
elixir:
- '1.17'
- '1.16'
- '1.15'
otp:
- '27.0'
- '26.2'
- '25.3'
- '24.3'
exclude:
- elixir: '1.17'
otp: '24.3'
- elixir: '1.16'
otp: '27.0'
- elixir: '1.15'
otp: '27.0'
services:
redis:
image: redis
ports: ['6379:6379']
steps:
- name: Set up Elixir and OTP
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Checkout code
uses: actions/checkout@v3
- name: 'Restore cache for deps/ and _build/ directories'
uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-${{ matrix.elixir }}-${{ matrix.otp }}-
- name: Install Mix dependencies
run: mix deps.get
- name: Run the tests
run: mix test