Skip to content

Bump deps

Bump deps #93

Workflow file for this run

name: Elixir
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
MIX_ENV: test
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir: [
1.13.4
]
otp: [
25.0
]
steps:
- uses: actions/checkout@v2
- name: Setup elixir
id: setup-beam
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v2
with:
path: |
deps
_build
# cache key is hierarchical: OS, otp-version, elixir-version, mix.lock
key: ${{ runner.os }}-mix-${{ steps.setup-beam.outputs.otp-version }}-${{ steps.setup-beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
# restore keys are tried on cache misses, and only match the key prefix
restore-keys: |
${{ runner.os }}-mix-${{ steps.setup-beam.outputs.otp-version }}-${{ steps.setup-beam.outputs.elixir-version }}-
${{ runner.os }}-mix-${{ steps.setup-beam.outputs.otp-version }}-
${{ runner.os }}-mix-
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test