Skip to content

Update dependencies (and their minimum versions) #18

Update dependencies (and their minimum versions)

Update dependencies (and their minimum versions) #18

Workflow file for this run

name: Dialyzer
on:
pull_request:
push:
branches:
- master
- test
tags:
- '*'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: setup
id: setup
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.6'
otp-version: '26.0'
- name: mix-cache
uses: actions/cache@v3
id: mix-cache
with:
path: deps
# yamllint disable-line rule:line-length
key: ${{ runner.os }}-${{ steps.setup.outputs.otp-version }}-${{ steps.setup.outputs.elixir-version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: mix-deps
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: plt-cache
uses: actions/cache@v3
id: plt-cache
with:
path: plts
key: ${{ runner.os }}-${{ steps.setup.outputs.otp-version }}-${{ steps.setup.outputs.elixir-version }}-plts
- name: plt-create
if: steps.plt-cache.outputs.cache-hit != 'true'
run: |
mkdir -p plts
mix dialyzer --plt
- name: dialyzer
run: mix dialyzer