Skip to content

Commit 591502c

Browse files
committed
perf(ci): run jobs on arm64 hosted runners
GitHub's arm64 hosted runners are free in public repositories and generally available. Move the per-PR and per-push jobs to ubuntu-24.04-arm.
1 parent f038b6e commit 591502c

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
triage:
3434
name: Triage
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-24.04-arm
3636
timeout-minutes: 5
3737
permissions:
3838
actions: read
@@ -165,7 +165,7 @@ jobs:
165165
name: Lint (Kotlin)
166166
needs: [triage]
167167
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
168-
runs-on: ubuntu-latest
168+
runs-on: ubuntu-24.04-arm
169169
timeout-minutes: 15
170170
steps:
171171
- name: Checkout
@@ -183,7 +183,7 @@ jobs:
183183
name: Lint (Actions)
184184
needs: [triage]
185185
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
186-
runs-on: ubuntu-latest
186+
runs-on: ubuntu-24.04-arm
187187
timeout-minutes: 5
188188
steps:
189189
- name: Checkout
@@ -234,7 +234,7 @@ jobs:
234234
tasks: :minimessage:koverBinaryReport :serializer:koverBinaryReport :minimessage:jar :serializer:jar
235235
- shard: runtime
236236
tasks: :coroutines:koverBinaryReport :paper:koverBinaryReport :test:koverBinaryReport :test-snapshot:koverBinaryReport :bom:build :coroutines:jar :paper:jar :test:jar :test-snapshot:jar
237-
runs-on: ubuntu-latest
237+
runs-on: ubuntu-24.04-arm
238238
timeout-minutes: 20
239239
permissions:
240240
checks: write
@@ -359,7 +359,7 @@ jobs:
359359
name: Aggregate
360360
needs: [build]
361361
if: needs.build.result == 'success'
362-
runs-on: ubuntu-latest
362+
runs-on: ubuntu-24.04-arm
363363
timeout-minutes: 15
364364
permissions:
365365
contents: read
@@ -492,7 +492,7 @@ jobs:
492492
name: Dokka
493493
needs: [triage]
494494
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
495-
runs-on: ubuntu-latest
495+
runs-on: ubuntu-24.04-arm
496496
timeout-minutes: 10
497497
permissions:
498498
contents: read
@@ -526,7 +526,7 @@ jobs:
526526
&& github.event_name == 'pull_request'
527527
&& needs.aggregate.result != 'cancelled'
528528
&& needs.aggregate.result != 'skipped'
529-
runs-on: ubuntu-latest
529+
runs-on: ubuntu-24.04-arm
530530
timeout-minutes: 25
531531
permissions:
532532
actions: read
@@ -657,7 +657,7 @@ jobs:
657657
name: Vanilla conformance
658658
needs: [triage]
659659
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.vanilla == 'true'
660-
runs-on: ubuntu-latest
660+
runs-on: ubuntu-24.04-arm
661661
timeout-minutes: 20
662662
permissions:
663663
checks: write
@@ -714,7 +714,7 @@ jobs:
714714
dependencies:
715715
name: Dependencies
716716
if: github.event_name == 'pull_request'
717-
runs-on: ubuntu-latest
717+
runs-on: ubuntu-24.04-arm
718718
timeout-minutes: 10
719719
steps:
720720
- name: Checkout
@@ -731,7 +731,7 @@ jobs:
731731
commits:
732732
name: Commits
733733
if: github.event_name == 'push'
734-
runs-on: ubuntu-latest
734+
runs-on: ubuntu-24.04-arm
735735
timeout-minutes: 10
736736
steps:
737737
- name: Checkout
@@ -761,7 +761,7 @@ jobs:
761761
name: Status
762762
if: always()
763763
needs: [triage, lint-kotlin, lint-actions, build, aggregate, dokka, vanilla, dependencies]
764-
runs-on: ubuntu-latest
764+
runs-on: ubuntu-24.04-arm
765765
timeout-minutes: 5
766766
steps:
767767
- name: Evaluate

.github/workflows/maintainer-approval.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
&& (github.event.review.state == 'approved'
2020
|| github.event.review.state == 'changes_requested'
2121
|| github.event.review.state == 'dismissed'))
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-24.04-arm
2323
timeout-minutes: 5
2424
permissions:
2525
contents: read

.github/workflows/pr-metrics-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
publish:
2424
name: Publish PR metrics
2525
if: github.event.workflow_run.event == 'pull_request'
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04-arm
2727
timeout-minutes: 10
2828
permissions:
2929
actions: read

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# ─── Title validation ────────────────────────────────────────────────────────
1919
title:
2020
name: Title
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-24.04-arm
2222
timeout-minutes: 10
2323
permissions:
2424
contents: read
@@ -44,7 +44,7 @@ jobs:
4444
# ─── Commit subjects ────────────────────────────────────────────────────────
4545
commits:
4646
name: Commits
47-
runs-on: ubuntu-latest
47+
runs-on: ubuntu-24.04-arm
4848
timeout-minutes: 10
4949
permissions:
5050
contents: read
@@ -77,7 +77,7 @@ jobs:
7777
labels:
7878
name: Labels
7979
if: github.event_name == 'pull_request_target'
80-
runs-on: ubuntu-latest
80+
runs-on: ubuntu-24.04-arm
8181
timeout-minutes: 10
8282
permissions:
8383
contents: read

.github/workflows/qodana-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
publish:
1919
name: Publish Qodana result
2020
if: github.event.workflow_run.conclusion != 'skipped'
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-24.04-arm
2222
timeout-minutes: 10
2323
permissions:
2424
actions: read

0 commit comments

Comments
 (0)