-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.04 KB
/
ci.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
on: push
jobs:
type_check:
name: Type Check
runs-on: ubuntu-24.04
steps:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: "27.1.3"
elixir-version: "1.17.3"
- name: Checkout repository
uses: actions/checkout@v4
- name: Get dependencies
run: mix deps.get --only dev
- name: Restore PLTs
uses: actions/cache@v4
with:
path: _build/dev/plt
key: plt-${{ github.ref }}-${{ github.sha }}
restore-keys: |
plt-${{ github.ref }}-${{ github.sha }}
plt-${{ github.ref }}-
plt-refs/heads/master-
- name: Install system deps
run: |
sudo apt install \
build-essential \
devscripts \
equivs \
libtasn1-6-dev \
libjson-glib-dev \
libseccomp-dev \
libgmp-dev
- name: Compile
run: mix compile
- name: Run dialyzer
run: mix dialyzer