Skip to content

Lower required elixir to 1.14 #16

Lower required elixir to 1.14

Lower required elixir to 1.14 #16

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: CI unlocked
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
name: Unlocked deps
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['24', '25']
elixir: ['1.13', '1.14']
exclude:
- elixir: '1.12'
otp: '25'
- elixir: '1.13'
otp: '25'
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Unlock dependencies
run: mix deps.unlock --all
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test