Skip to content

Commit 174ba4b

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 3ff8a6f commit 174ba4b

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
@@ -490,7 +490,7 @@ jobs:
490490
name: Dokka
491491
needs: [triage]
492492
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.code == 'true'
493-
runs-on: ubuntu-latest
493+
runs-on: ubuntu-24.04-arm
494494
timeout-minutes: 10
495495
permissions:
496496
contents: read
@@ -522,7 +522,7 @@ jobs:
522522
&& github.event_name == 'pull_request'
523523
&& needs.aggregate.result != 'cancelled'
524524
&& needs.aggregate.result != 'skipped'
525-
runs-on: ubuntu-latest
525+
runs-on: ubuntu-24.04-arm
526526
timeout-minutes: 25
527527
permissions:
528528
actions: read
@@ -652,7 +652,7 @@ jobs:
652652
name: Vanilla conformance
653653
needs: [triage]
654654
if: needs.triage.outputs.run == 'true' && needs.triage.outputs.vanilla == 'true'
655-
runs-on: ubuntu-latest
655+
runs-on: ubuntu-24.04-arm
656656
timeout-minutes: 20
657657
permissions:
658658
checks: write
@@ -707,7 +707,7 @@ jobs:
707707
dependencies:
708708
name: Dependencies
709709
if: github.event_name == 'pull_request'
710-
runs-on: ubuntu-latest
710+
runs-on: ubuntu-24.04-arm
711711
timeout-minutes: 10
712712
steps:
713713
- name: Checkout
@@ -724,7 +724,7 @@ jobs:
724724
commits:
725725
name: Commits
726726
if: github.event_name == 'push'
727-
runs-on: ubuntu-latest
727+
runs-on: ubuntu-24.04-arm
728728
timeout-minutes: 10
729729
steps:
730730
- name: Checkout
@@ -754,7 +754,7 @@ jobs:
754754
name: Status
755755
if: always()
756756
needs: [triage, lint-kotlin, lint-actions, build, aggregate, dokka, vanilla, dependencies]
757-
runs-on: ubuntu-latest
757+
runs-on: ubuntu-24.04-arm
758758
timeout-minutes: 5
759759
steps:
760760
- 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)