Skip to content

chore: Upgrade to Elixir 1.16.3 #5

chore: Upgrade to Elixir 1.16.3

chore: Upgrade to Elixir 1.16.3 #5

Workflow file for this run

name: Elixir Mix Tests
on:
push:
branches:
- master
pull_request:
branches:
- '**'
env:
MIX_ENV: test
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['26.2.4']
elixir: ['1.16.3']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install dependencies
run: mix deps.get
- name: Cache deps
id: cache-deps
uses: actions/cache@v4
env:
cache-name: cache-elixir-deps
with:
path: deps
key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-${{ env.cache-name }}-
- name: Run tests
run: mix test