Skip to content

Commit d9d97dd

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 9a2ca6d commit d9d97dd

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
@@ -184,7 +184,7 @@ jobs:
184184
name: Lint (Actions)
185185
needs: [triage]
186186
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
187-
runs-on: ubuntu-latest
187+
runs-on: ubuntu-24.04-arm
188188
timeout-minutes: 5
189189
steps:
190190
- name: Checkout
@@ -235,7 +235,7 @@ jobs:
235235
tasks: :minimessage:koverBinaryReport :serializer:koverBinaryReport :minimessage:jar :serializer:jar
236236
- shard: runtime
237237
tasks: :coroutines:koverBinaryReport :paper:koverBinaryReport :test:koverBinaryReport :test-snapshot:koverBinaryReport :bom:build :coroutines:jar :paper:jar :test:jar :test-snapshot:jar
238-
runs-on: ubuntu-latest
238+
runs-on: ubuntu-24.04-arm
239239
timeout-minutes: 20
240240
permissions:
241241
checks: write
@@ -361,7 +361,7 @@ jobs:
361361
name: Aggregate
362362
needs: [build]
363363
if: needs.build.result == 'success'
364-
runs-on: ubuntu-latest
364+
runs-on: ubuntu-24.04-arm
365365
timeout-minutes: 15
366366
permissions:
367367
contents: read
@@ -495,7 +495,7 @@ jobs:
495495
name: Dokka
496496
needs: [triage]
497497
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
498-
runs-on: ubuntu-latest
498+
runs-on: ubuntu-24.04-arm
499499
timeout-minutes: 10
500500
permissions:
501501
contents: read
@@ -529,7 +529,7 @@ jobs:
529529
&& github.event_name == 'pull_request'
530530
&& needs.aggregate.result != 'cancelled'
531531
&& needs.aggregate.result != 'skipped'
532-
runs-on: ubuntu-latest
532+
runs-on: ubuntu-24.04-arm
533533
timeout-minutes: 25
534534
permissions:
535535
actions: read
@@ -660,7 +660,7 @@ jobs:
660660
name: Vanilla conformance
661661
needs: [triage]
662662
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.vanilla == 'true'
663-
runs-on: ubuntu-latest
663+
runs-on: ubuntu-24.04-arm
664664
timeout-minutes: 20
665665
permissions:
666666
checks: write
@@ -717,7 +717,7 @@ jobs:
717717
dependencies:
718718
name: Dependencies
719719
if: github.event_name == 'pull_request'
720-
runs-on: ubuntu-latest
720+
runs-on: ubuntu-24.04-arm
721721
timeout-minutes: 10
722722
steps:
723723
- name: Checkout
@@ -734,7 +734,7 @@ jobs:
734734
commits:
735735
name: Commits
736736
if: github.event_name == 'push'
737-
runs-on: ubuntu-latest
737+
runs-on: ubuntu-24.04-arm
738738
timeout-minutes: 10
739739
steps:
740740
- name: Checkout
@@ -764,7 +764,7 @@ jobs:
764764
name: Status
765765
if: always()
766766
needs: [triage, lint-kotlin, lint-actions, build, aggregate, dokka, vanilla, dependencies]
767-
runs-on: ubuntu-latest
767+
runs-on: ubuntu-24.04-arm
768768
timeout-minutes: 5
769769
steps:
770770
- 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)