Skip to content

Update README.md

Update README.md #19

# 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', '26']
elixir: ['1.14', '1.15', '1.16']
exclude:
- elixir: '1.16'
otp: '24'
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