Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

bump elixir version for buildpack #47

bump elixir version for buildpack

bump elixir version for buildpack #47

Workflow file for this run

name: Check application
on:
- push
- pull_request
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- otp: "26.0.2"
elixir: "1.15.2"
- otp: "25.3.2.3"
elixir: "1.14.5"
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-deps
- name: Install dependencies
run: mix deps.get && mix deps.unlock --check-unused
- name: Restore PLT
uses: actions/cache@v2
id: cache-plt
with:
path: priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-plt
- name: Create PLTs
if: steps.cache-plt.outputs.cache-hit != 'true'
run: mix dialyzer --plt
- name: Check format
run: mix format --check-formatted
- name: Run dialyzer
run: mix dialyzer --format github