Skip to content

Commit e511845

Browse files
committed
clean up github main workflow
1 parent 13a4530 commit e511845

File tree

1 file changed

+11
-18
lines changed

1 file changed

+11
-18
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,30 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
env:
1313
MIX_ENV: test
14+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
1415
strategy:
1516
fail-fast: false
1617
matrix:
1718
include:
18-
- pair:
19-
elixir: 1.8.2
20-
otp: 20.3.8.26
21-
- pair:
22-
elixir: 1.11.4
23-
otp: 23.2.7
24-
lint: lint
19+
- elixir: "1.11"
20+
otp: "23"
21+
lint: true
22+
- elixir: "1.10"
23+
otp: "23"
24+
- elixir: "1.8"
25+
otp: "20"
2526
steps:
2627
- uses: actions/checkout@v2
27-
2828
- uses: erlef/setup-elixir@v1
2929
with:
30-
otp-version: ${{matrix.pair.otp}}
31-
elixir-version: ${{matrix.pair.elixir}}
32-
33-
- name: Install Dependencies
34-
run: mix deps.get --only test
35-
30+
otp-version: ${{matrix.otp}}
31+
elixir-version: ${{matrix.elixir}}
32+
- run: mix deps.get --only test
3633
- run: mix format --check-formatted
3734
if: ${{ matrix.lint }}
38-
3935
- run: mix deps.get && mix deps.unlock --check-unused
4036
if: ${{ matrix.lint }}
41-
4237
- run: mix deps.compile
43-
4438
- run: mix compile --warnings-as-errors
4539
if: ${{ matrix.lint }}
46-
4740
- run: mix test

0 commit comments

Comments
 (0)