-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (30 loc) · 874 Bytes
/
dialyzer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Dialyzer
on: push
jobs:
Dialyzer:
runs-on: ubuntu-latest
container:
image: mikaak/elixir:1.13-alpine
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- name: Install Rebar & Hex
run: mix local.hex --force && mix local.rebar --force
- name: Install Tar
run: apk add --no-cache tar
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: |
_build
deps
dialyzer
key: ${{ runner.os }}-dialyzer-${{ hashFiles('**/mix.lock') }}-${{ hashFiles('./.tool-versions') }}
restore-keys: ${{ runner.os }}-dialyzer-
- name: Install Dependencies
run: mix deps.get
- name: Compile Project
run: mix compile
- name: Run Dialyzer
run: mix dialyzer