Skip to content

Update actions/checkout action to v4 #21

Update actions/checkout action to v4

Update actions/checkout action to v4 #21

Workflow file for this run

name: mix test
on:
push:
paths-ignore:
- README.md
- .gitignore
branches:
- master
- dev/*
pull_request:
branches:
- master
jobs:
# Refactoring duplicated yaml is currently not possible
# because Github does not support anchor syntax (& and *) now.
elixir_1_11:
runs-on: ubuntu-latest
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.11.0]
otp: [21.0, 22.0, 23.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: epmd -daemon
- run: mix deps.get
- run: mix test
elixir_1_10:
runs-on: ubuntu-latest
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.10.0]
otp: [21.0, 22.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: epmd -daemon
- run: mix deps.get
- run: mix test
elixir_1_9:
runs-on: ubuntu-latest
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.9.0]
otp: [20.0, 21.0, 22.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: epmd -daemon
- run: mix deps.get
- run: mix test
elixir_1_8:
runs-on: ubuntu-latest
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.8.0]
otp: [20.0, 21.0, 22.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: epmd -daemon
- run: mix deps.get
- run: mix test
elixir_1_7:
runs-on: ubuntu-latest
name: Test on Elixir ${{matrix.elixir}} / OTP ${{matrix.otp}}
strategy:
matrix:
elixir: [1.7.0]
otp: [19.0, 20.0, 21.0, 22.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- run: epmd -daemon
- run: mix deps.get
- run: mix test