File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change 77 - main
88
99jobs :
10+ lint :
11+ runs-on : ubuntu-20.04
12+ env :
13+ MIX_ENV : test
14+ name : Lint
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : erlef/setup-elixir@v1
18+ with :
19+ otp-version : " 24"
20+ elixir-version : " 1.12"
21+ - run : mix deps.get && mix deps.unlock --check-unused
22+ - run : mix format --check-formatted
1023 test :
1124 runs-on : ubuntu-20.04
1225 env :
1326 MIX_ENV : test
14- name : OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
27+ name : Ubuntu / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
1528 strategy :
1629 fail-fast : false
1730 matrix :
1831 include :
1932 - elixir : " 1.12"
2033 otp : " 24"
21- lint : true
2234 - elixir : " 1.12"
2335 otp : " 23"
2436 - elixir : " 1.11"
3850 otp-version : ${{matrix.otp}}
3951 elixir-version : ${{matrix.elixir}}
4052 - run : mix deps.get --only test
41- - run : mix format --check-formatted
42- if : ${{ matrix.lint }}
43- - run : mix deps.get && mix deps.unlock --check-unused
44- if : ${{ matrix.lint }}
4553 - run : mix deps.compile
46- - run : mix compile --warnings-as-errors
47- if : ${{ matrix.lint }}
54+ - run : mix compile
4855 - run : mix test
You can’t perform that action at this time.
0 commit comments