Skip to content

Upgrade Elixir to 1.15.5 And Erlang to 24.3.4 #21

Upgrade Elixir to 1.15.5 And Erlang to 24.3.4

Upgrade Elixir to 1.15.5 And Erlang to 24.3.4 #21

Workflow file for this run

name: Elixir CI
on:
pull_request:
jobs:
build:
name: Build and test
runs-on: ubuntu-22.04
env:
MIX_ENV: test
ELIXIR_ENV: test
strategy:
matrix:
otp: ["22.3.4", "23.2.7", "24.1", "26.1.2"]
elixir: ["1.11.4", "1.12.3", "1.15.7"]
# exclude:
# Example, but this doesn't need excluded
# - otp: '22.3.4'
# elixir: '1.12.3'
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- 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
- name: Formatter
run: mix format --check-formatted