-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (40 loc) · 973 Bytes
/
master.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: Master
on:
push:
branches:
- master
jobs:
publish:
name: Push latest Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Push
uses: elgohr/[email protected]
with:
name: inhindsight/hindsight
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dialyzer:
name: Cache PLT
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
otp-version: 22.2
elixir-version: 1.9.4
- name: Get dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Retrieve PLT
uses: actions/cache@v1
with:
path: .dialyzer
key: plt-master
- name: Run dialyzer
run: |
mix dialyzer