Skip to content

Merge pull request #176 from WTTJ/dependabot/hex/mix_test_watch-1.4.0 #600

Merge pull request #176 from WTTJ/dependabot/hex/mix_test_watch-1.4.0

Merge pull request #176 from WTTJ/dependabot/hex/mix_test_watch-1.4.0 #600

Workflow file for this run

name: Elixir CI
on:
push:
pull_request:
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
otp: ["25.x", "26.x", "27.x"]
elixir: ["1.14.x", "1.15.x", "1.16.x", "1.17.x", "1.18.x"]
exclude:
- elixir: 1.14.x
otp: 27.x
- elixir: 1.15.x
otp: 27.x
- elixir: 1.16.x
otp: 27.x
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
env:
ImageOS: ubuntu24
- name: Restore dependencies cache
uses: actions/cache@v4
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