Skip to content

Commit 4048e66

Browse files
committed
Remove tracing and update test matrix.
1 parent d241e78 commit 4048e66

26 files changed

+282
-1344
lines changed

Diff for: .github/workflows/perform-release.yml

+56-42
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
required: true
99

1010
env:
11-
preferred-elixir: "1.15.x"
12-
preferred-otp: "26.x"
13-
cache-version: 2
11+
preferred-elixir: "1.18"
12+
preferred-otp: "27"
13+
cache-version: 9
1414
commit-author-name: ${{ secrets.ACTIONS_COMMIT_AUTHOR_NAME }}
1515
commit-author-email: ${{ secrets.ACTIONS_COMMIT_AUTHOR_EMAIL }}
1616
MIX_ENV: test
@@ -23,36 +23,44 @@ concurrency:
2323
jobs:
2424
tests:
2525
name: Testing Before Performing Release
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727

2828
continue-on-error: ${{ matrix.type == 'optional' }}
2929
strategy:
3030
matrix:
3131
elixir:
32-
- "1.12.x"
33-
- "1.13.x"
34-
- "1.14.x"
32+
- "1.15"
33+
- "1.16"
34+
- "1.17"
35+
- "1.18"
3536
otp:
36-
- "23.x"
37-
- "24.x"
37+
- "25"
38+
- "26"
3839
type: [required]
3940
include:
4041
# Additional version combinations we want to check
4142
# See: https://github.com/elixir-lang/elixir/blob/main/lib/elixir/pages/compatibility-and-deprecations.md#compatibility-between-elixir-and-erlangotp
42-
# Only Elixir > 1.12 supports OTP 25
43-
- elixir: "1.13.x"
44-
otp: "25.x"
43+
# Only Elixir >= 1.17 supports OTP 27
44+
- elixir: "1.17"
45+
otp: "27"
4546
type: required
46-
- elixir: "1.14.x"
47-
otp: "25.x"
47+
- elixir: "1.18"
48+
otp: "27"
4849
type: required
49-
# Only Elixir < 1.14 supports OTP 22
50-
- elixir: "1.12.x"
51-
otp: "22.x"
50+
# Only Elixir <= 1.16 supports OTP 24
51+
- elixir: "1.14"
52+
otp: "24"
5253
type: required
53-
- elixir: "1.13.x"
54-
otp: "22.x"
54+
- elixir: "1.15"
55+
otp: "24"
5556
type: required
57+
- elixir: "1.16"
58+
otp: "24"
59+
type: required
60+
# Only Elixir <= 1.14 supports OTP 23, but erlef/setub-beam no longer supports it
61+
- elixir: "1.14"
62+
otp: "23"
63+
type: optional
5664

5765
steps:
5866
- uses: actions/checkout@v4
@@ -93,36 +101,44 @@ jobs:
93101

94102
types:
95103
name: Typechecking Before Performing Release
96-
runs-on: ubuntu-20.04
104+
runs-on: ubuntu-22.04
97105

98106
continue-on-error: ${{ matrix.type == 'optional' }}
99107
strategy:
100108
matrix:
101109
elixir:
102-
- "1.12.x"
103-
- "1.13.x"
104-
- "1.14.x"
110+
- "1.15"
111+
- "1.16"
112+
- "1.17"
113+
- "1.18"
105114
otp:
106-
- "23.x"
107-
- "24.x"
115+
- "25"
116+
- "26"
108117
type: [required]
109118
include:
110119
# Additional version combinations we want to check
111120
# See: https://github.com/elixir-lang/elixir/blob/main/lib/elixir/pages/compatibility-and-deprecations.md#compatibility-between-elixir-and-erlangotp
112-
# Only Elixir > 1.12 supports OTP 25
113-
- elixir: "1.13.x"
114-
otp: "25.x"
121+
# Only Elixir >= 1.17 supports OTP 27
122+
- elixir: "1.17"
123+
otp: "27"
124+
type: required
125+
- elixir: "1.18"
126+
otp: "27"
115127
type: required
116-
- elixir: "1.14.x"
117-
otp: "25.x"
128+
# Only Elixir <= 1.16 supports OTP 24
129+
- elixir: "1.14"
130+
otp: "24"
118131
type: required
119-
# Only Elixir < 1.14 supports OTP 22
120-
- elixir: "1.12.x"
121-
otp: "22.x"
132+
- elixir: "1.15"
133+
otp: "24"
122134
type: required
123-
- elixir: "1.13.x"
124-
otp: "22.x"
135+
- elixir: "1.16"
136+
otp: "24"
125137
type: required
138+
# Only Elixir <= 1.14 supports OTP 23, but erlef/setub-beam no longer supports it
139+
- elixir: "1.14"
140+
otp: "23"
141+
type: optional
126142

127143
steps:
128144
- uses: actions/checkout@v4
@@ -174,7 +190,7 @@ jobs:
174190

175191
lints:
176192
name: Linting Before Performing Release
177-
runs-on: ubuntu-20.04
193+
runs-on: ubuntu-22.04
178194

179195
steps:
180196
- uses: actions/checkout@v4
@@ -185,8 +201,7 @@ jobs:
185201
id: beam-versions
186202
uses: erlef/setup-beam@v1
187203
with:
188-
elixir-version: ${{ env.preferred-elixir }}
189-
otp-version: ${{ env.preferred-otp }}
204+
version-file: ".tool-versions"
190205

191206
- name: Restore mix dependency installation cache
192207
id: mix-deps-get-cache
@@ -216,7 +231,7 @@ jobs:
216231

217232
perform-release:
218233
name: Performing Release
219-
runs-on: ubuntu-20.04
234+
runs-on: ubuntu-22.04
220235

221236
needs:
222237
- tests
@@ -233,8 +248,7 @@ jobs:
233248
id: beam-versions
234249
uses: erlef/setup-beam@v1
235250
with:
236-
elixir-version: ${{ env.preferred-elixir }}
237-
otp-version: ${{ env.preferred-otp }}
251+
version-file: ".tool-versions"
238252

239253
- name: Restore Mix Cache
240254
id: mix-cache
@@ -276,7 +290,7 @@ jobs:
276290
277291
results:
278292
name: Perform Release Results
279-
runs-on: ubuntu-20.04
293+
runs-on: ubuntu-22.04
280294

281295
if: ${{ always() }}
282296
needs:

Diff for: .github/workflows/publish-static-pages.yml

+17-21
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Publish Static Pages
22

33
env:
4-
preferred-elixir: "1.15.x"
5-
preferred-otp: "26.x"
6-
cache-version: 1
4+
preferred-elixir: "1.18"
5+
preferred-otp: "27"
6+
cache-version: 9
77
MIX_ENV: test
88

99
on:
@@ -29,7 +29,7 @@ jobs:
2929
name: github-pages
3030
url: ${{ steps.deployment.outputs.page_url }}
3131

32-
runs-on: ubuntu-20.04
32+
runs-on: ubuntu-22.04
3333

3434
steps:
3535
- uses: actions/checkout@v4
@@ -38,8 +38,7 @@ jobs:
3838
id: beam-versions
3939
uses: erlef/setup-beam@v1
4040
with:
41-
elixir-version: ${{ env.preferred-elixir }}
42-
otp-version: ${{ env.preferred-otp }}
41+
version-file: ".tool-versions"
4342

4443
- name: Restore mix dependency installation cache
4544
id: mix-deps-get-cache
@@ -67,7 +66,7 @@ jobs:
6766
run: mix benchmarks
6867

6968
- name: Store benchmark reports
70-
uses: actions/upload-artifact@v3
69+
uses: actions/upload-artifact@v4
7170
with:
7271
name: bench
7372
path: bench
@@ -79,7 +78,7 @@ jobs:
7978
name: github-pages
8079
url: ${{ steps.deployment.outputs.page_url }}
8180

82-
runs-on: ubuntu-20.04
81+
runs-on: ubuntu-22.04
8382

8483
steps:
8584
- uses: actions/checkout@v4
@@ -88,8 +87,7 @@ jobs:
8887
id: beam-versions
8988
uses: erlef/setup-beam@v1
9089
with:
91-
elixir-version: ${{ env.preferred-elixir }}
92-
otp-version: ${{ env.preferred-otp }}
90+
version-file: ".tool-versions"
9391

9492
- name: Restore mix dependency installation cache
9593
id: mix-deps-get-cache
@@ -117,7 +115,7 @@ jobs:
117115
run: mix coverage
118116

119117
- name: Store coverage reports
120-
uses: actions/upload-artifact@v3
118+
uses: actions/upload-artifact@v4
121119
with:
122120
name: cover
123121
path: cover
@@ -129,7 +127,7 @@ jobs:
129127
name: github-pages
130128
url: ${{ steps.deployment.outputs.page_url }}
131129

132-
runs-on: ubuntu-20.04
130+
runs-on: ubuntu-22.04
133131

134132
steps:
135133
- uses: actions/checkout@v4
@@ -138,8 +136,7 @@ jobs:
138136
id: beam-versions
139137
uses: erlef/setup-beam@v1
140138
with:
141-
elixir-version: ${{ env.preferred-elixir }}
142-
otp-version: ${{ env.preferred-otp }}
139+
version-file: ".tool-versions"
143140

144141
- name: Restore mix dependency installation cache
145142
id: mix-deps-get-cache
@@ -167,7 +164,7 @@ jobs:
167164
run: mix docs
168165

169166
- name: Store generated docs
170-
uses: actions/upload-artifact@v3
167+
uses: actions/upload-artifact@v4
171168
with:
172169
name: doc
173170
path: doc
@@ -179,7 +176,7 @@ jobs:
179176
name: github-pages
180177
url: ${{ steps.deployment.outputs.page_url }}
181178

182-
runs-on: ubuntu-20.04
179+
runs-on: ubuntu-22.04
183180

184181
needs:
185182
- benchmarks
@@ -193,8 +190,7 @@ jobs:
193190
id: beam-versions
194191
uses: erlef/setup-beam@v1
195192
with:
196-
elixir-version: ${{ env.preferred-elixir }}
197-
otp-version: ${{ env.preferred-otp }}
193+
version-file: ".tool-versions"
198194

199195
- name: Restore mix dependency installation cache
200196
id: mix-deps-get-cache
@@ -219,7 +215,7 @@ jobs:
219215
run: mix deps.compile
220216

221217
- name: Fetch generated pages
222-
uses: actions/download-artifact@v3
218+
uses: actions/download-artifact@v4
223219

224220
- name: Collect static files
225221
run: mix static.collect
@@ -228,7 +224,7 @@ jobs:
228224
uses: actions/configure-pages@v2
229225

230226
- name: Upload static artifacts to Github Pages
231-
uses: actions/upload-pages-artifact@v1
227+
uses: actions/upload-pages-artifact@v3
232228
with:
233229
path: "./static"
234230

@@ -238,7 +234,7 @@ jobs:
238234

239235
results:
240236
name: Publish Static Page Action Results
241-
runs-on: ubuntu-20.04
237+
runs-on: ubuntu-22.04
242238

243239
if: ${{ always() }}
244240
needs:

Diff for: .github/workflows/test-benchmarks.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
- workflow_dispatch
55

66
env:
7-
preferred-elixir: "1.15.x"
8-
preferred-otp: "26.x"
9-
cache-version: 2
7+
preferred-elixir: "1.18"
8+
preferred-otp: "27"
9+
cache-version: 9
1010
MIX_ENV: test
1111

1212
concurrency:
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
benchmarks:
1818
name: Run Benchmarks
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -25,8 +25,7 @@ jobs:
2525
id: beam-versions
2626
uses: erlef/setup-beam@v1
2727
with:
28-
elixir-version: ${{ env.preferred-elixir }}
29-
otp-version: ${{ env.preferred-otp }}
28+
version-file: ".tool-versions"
3029

3130
- name: Restore mix dependency installation cache
3231
id: mix-deps-get-cache
@@ -55,7 +54,7 @@ jobs:
5554

5655
results:
5756
name: Test Benchmarks Action Results
58-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-22.04
5958

6059
if: ${{ always() }}
6160
needs:

0 commit comments

Comments
 (0)