@@ -19,52 +19,33 @@ jobs:
19
19
- elixir : 1.11.x
20
20
otp : 22.3.x
21
21
tests_may_fail : false
22
- check_unused_deps : false
23
22
- elixir : 1.11.x
24
23
otp : 23.3.x
25
24
tests_may_fail : false
26
- check_unused_deps : false
27
25
- elixir : 1.12.x
28
26
otp : 23.3.x
29
27
tests_may_fail : false
30
- check_unused_deps : false
31
28
- elixir : 1.13.x
32
29
otp : 22.3.x
33
30
tests_may_fail : false
34
- check_unused_deps : true
35
- warnings_as_errors : false
36
31
- elixir : 1.13.x
37
32
otp : 23.3.x
38
33
tests_may_fail : false
39
- check_unused_deps : false
40
- warnings_as_errors : false
41
34
- elixir : 1.13.x
42
35
otp : 24.3.x
43
36
tests_may_fail : false
44
- check_unused_deps : false
45
- warnings_as_errors : false
46
37
- elixir : 1.13.x
47
38
otp : 25.x
48
39
tests_may_fail : false
49
- check_unused_deps : false
50
- warnings_as_errors : false
51
40
- elixir : 1.14.x
52
41
otp : 23.3.x
53
42
tests_may_fail : false
54
- check_unused_deps : false
55
- warnings_as_errors : false
56
43
- elixir : 1.14.x
57
44
otp : 24.3.x
58
45
tests_may_fail : false
59
- check_unused_deps : false
60
- warnings_as_errors : false
61
46
- elixir : 1.14.x
62
47
otp : 25.x
63
48
tests_may_fail : false
64
- warnings_as_errors : false
65
- check_formatted : true
66
- check_unused_deps : true
67
- run_dialyzer : true
68
49
env :
69
50
MIX_ENV : test
70
51
steps :
78
59
mix local.hex --force
79
60
mix local.rebar --force
80
61
mix deps.get --only test
81
- - run : mix format --check-formatted
82
- if : matrix.check_formatted
83
- - run : mix compile --warnings-as-errors
84
- if : matrix.warnings_as_errors
85
62
- run : mix test || ${{ matrix.tests_may_fail }}
86
63
87
64
static_analysis :
113
90
mix deps.get
114
91
- name : Restore timestamps to prevent unnecessary recompilation
115
92
run : IFS=$'\n'; for f in $(git ls-files); do touch -d "$(git log -n 1 --pretty='%cI' -- $f)" "$f"; done
93
+ - run : mix format --check-formatted
116
94
- run : mix dialyzer
117
- if : matrix.run_dialyzer
0 commit comments