Skip to content

Commit ae94953

Browse files
committed
ci: updated ci workflow
1 parent 5192020 commit ae94953

File tree

1 file changed

+46
-158
lines changed

1 file changed

+46
-158
lines changed

.github/workflows/ci.yaml

+46-158
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,22 @@ on: push
44

55
jobs:
66
dialyzer:
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
11-
12-
- uses: actions/cache@v3
10+
- uses: actions/[email protected]
1311

12+
- uses: actions/[email protected]
1413
with:
15-
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}
16-
14+
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
1715
path: |
1816
_build
1917
deps
2018
21-
- uses: erlef/setup-beam@v1
22-
19+
- uses: erlef/[email protected]
2320
with:
2421
elixir-version: ${{ matrix.elixir }}
25-
26-
otp-version: ${{ matrix.erlang }}
22+
otp-version: ${{ matrix.otp }}
2723

2824
- run: mix deps.get
2925

@@ -35,100 +31,44 @@ jobs:
3531

3632
strategy:
3733
matrix:
38-
include:
39-
- elixir: 1.12.x
40-
41-
erlang: 22.x
42-
43-
os: ubuntu-20.04
44-
45-
- elixir: 1.12.x
46-
47-
erlang: 23.x
48-
49-
os: ubuntu-20.04
50-
51-
- elixir: 1.12.x
52-
53-
erlang: 24.x
54-
55-
os: ubuntu-22.04
56-
57-
- elixir: 1.13.x
58-
59-
erlang: 22.x
60-
61-
os: ubuntu-20.04
62-
63-
- elixir: 1.13.x
64-
65-
erlang: 23.x
66-
67-
os: ubuntu-20.04
68-
69-
- elixir: 1.13.x
70-
71-
erlang: 24.x
72-
73-
os: ubuntu-22.04
74-
75-
- elixir: 1.14.x
76-
77-
erlang: 23.x
78-
79-
os: ubuntu-20.04
80-
81-
- elixir: 1.14.x
82-
83-
erlang: 24.x
84-
85-
os: ubuntu-22.04
86-
87-
- elixir: 1.14.x
88-
89-
erlang: 25.x
90-
91-
os: ubuntu-22.04
92-
93-
- elixir: 1.15.x
94-
95-
erlang: 24.x
96-
97-
os: ubuntu-22.04
98-
99-
- elixir: 1.15.x
100-
101-
erlang: 25.x
102-
103-
os: ubuntu-22.04
104-
34+
elixir:
35+
- 1.17.x
36+
- 1.16.x
37+
- 1.15.x
38+
39+
otp:
40+
- 27.x
41+
- 26.x
42+
- 25.x
43+
- 24.x
44+
45+
exclude:
10546
- elixir: 1.15.x
47+
otp: 27.x
10648

107-
erlang: 26.x
49+
- elixir: 1.16.x
50+
otp: 27.x
10851

109-
os: ubuntu-22.04
52+
- elixir: 1.17.x
53+
otp: 24.x
11054

11155
test:
112-
runs-on: ${{ matrix.os }}
56+
runs-on: ubuntu-latest
11357

11458
steps:
115-
- uses: actions/checkout@v3
116-
117-
- uses: actions/cache@v3
59+
- uses: actions/[email protected]
11860

61+
- uses: actions/[email protected]
11962
with:
120-
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}
121-
63+
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
12264
path: |
12365
_build
12466
deps
12567
126-
- uses: erlef/setup-beam@v1
127-
68+
- uses: erlef/[email protected]
12869
with:
12970
elixir-version: ${{ matrix.elixir }}
130-
131-
otp-version: ${{ matrix.erlang }}
71+
otp-version: ${{ matrix.otp }}
13272

13373
- run: mix deps.get
13474

@@ -140,75 +80,23 @@ jobs:
14080

14181
strategy:
14282
matrix:
143-
include:
144-
- elixir: 1.12.x
145-
146-
erlang: 22.x
147-
148-
os: ubuntu-20.04
149-
150-
- elixir: 1.12.x
151-
152-
erlang: 23.x
153-
154-
os: ubuntu-20.04
155-
156-
- elixir: 1.12.x
157-
158-
erlang: 24.x
159-
160-
os: ubuntu-22.04
161-
162-
- elixir: 1.13.x
163-
164-
erlang: 22.x
165-
166-
os: ubuntu-20.04
167-
168-
- elixir: 1.13.x
169-
170-
erlang: 23.x
171-
172-
os: ubuntu-20.04
173-
174-
- elixir: 1.13.x
175-
176-
erlang: 24.x
177-
178-
os: ubuntu-22.04
179-
180-
- elixir: 1.14.x
181-
182-
erlang: 23.x
183-
184-
os: ubuntu-20.04
185-
186-
- elixir: 1.14.x
187-
188-
erlang: 24.x
189-
190-
os: ubuntu-22.04
191-
192-
- elixir: 1.14.x
193-
194-
erlang: 25.x
195-
196-
os: ubuntu-22.04
197-
198-
- elixir: 1.15.x
199-
200-
erlang: 24.x
201-
202-
os: ubuntu-22.04
203-
204-
- elixir: 1.15.x
205-
206-
erlang: 25.x
207-
208-
os: ubuntu-22.04
209-
83+
elixir:
84+
- 1.17.x
85+
- 1.16.x
86+
- 1.15.x
87+
88+
otp:
89+
- 27.x
90+
- 26.x
91+
- 25.x
92+
- 24.x
93+
94+
exclude:
21095
- elixir: 1.15.x
96+
otp: 27.x
21197

212-
erlang: 26.x
98+
- elixir: 1.16.x
99+
otp: 27.x
213100

214-
os: ubuntu-22.04
101+
- elixir: 1.17.x
102+
otp: 24.x

0 commit comments

Comments
 (0)