Skip to content

Update CI version matrix #33

Update CI version matrix

Update CI version matrix #33

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
- test
tags:
- '*'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- elixir: '1.11.4'
otp: '24.3'
- elixir: '1.12.3'
otp: '24.3'
- elixir: '1.13.4'
otp: '24.3'
- elixir: '1.14.5'
otp: '25.3'
- elixir: '1.15.7'
otp: '26.2'
- elixir: '1.16.3'
otp: '26.2'
- elixir: '1.17.3'
otp: '27.3'
- elixir: '1.18.4'
otp: '28.0'
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: setup
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: mix-cache
uses: actions/cache@v3
id: mix-cache
with:
path: deps
# yamllint disable-line rule:line-length
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: mix-deps
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: test
run: mix coveralls.github