Skip to content

Bump version to 1.0 #59

Bump version to 1.0

Bump version to 1.0 #59

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.15'
- '1.14'
- '1.13'
otp:
- '26.1'
- '26.0'
- '25.3'
- '24.3'
exclude:
- elixir: '1.13'
otp: '26.1'
- elixir: '1.13'
otp: '26.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