File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
mix_test :
11
11
name : mix test (Elixir ${{matrix.elixir}} | OTP ${{matrix.otp}})
12
- runs-on : ubuntu-18.04
12
+ runs-on : ubuntu-latest
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
37
37
- elixir : 1.13.x
38
38
otp : 24
39
39
warnings_as_errors : true
40
- static_analysis : true
41
40
env :
42
41
MIX_ENV : test
43
42
steps :
62
61
- run : mix compile --warnings-as-errors
63
62
if : matrix.warnings_as_errors
64
63
- run : mix test
64
+ dialyzer :
65
+ name : mix dialyzer
66
+ runs-on : ubuntu-latest
67
+ env :
68
+ MIX_ENV : test
69
+ steps :
70
+ - uses : actions/checkout@v2
71
+ - uses : erlef/setup-beam@v1
72
+ with :
73
+ otp-version : 24
74
+ elixir-version : 1.13.x
75
+ - name : Install Dependencies
76
+ run : |
77
+ mix local.hex --force
78
+ mix local.rebar --force
79
+ mix deps.get --only test
80
+ - name : Cache build artifacts
81
+ uses : actions/cache@v2
82
+ with :
83
+ path : |
84
+ ~/.hex
85
+ ~/.mix
86
+ _build
87
+ key : dialyzer
65
88
- run : mix dialyzer --halt-exit-status
66
- if : matrix.static_analysis
You can’t perform that action at this time.
0 commit comments