Skip to content

Commit 56fe067

Browse files
chore: migrate CI workflows to ubuntu-slim for faster startup times (#4007)
*This type of runner is optimized for automation tasks, issue operations and short-running jobs. They are not suitable for typical heavyweight CI/CD builds.* [[1](https://docs.github.com/en/actions/reference/runners/github-hosted-runners#single-cpu-runners)]. We are not necessarily dependent on faster startups, but that seems to be becoming the best practice now.
1 parent 9731ea2 commit 56fe067

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/automated-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
code-style-check:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-slim
2222
timeout-minutes: 15
2323
steps:
2424
- name: "Checkout code"

.github/workflows/dep-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
dependency-review:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
steps:
1515
- name: "Checkout code"
1616
uses: actions/checkout@v6

.github/workflows/electron-rebuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
rebuild:
77
name: Run electron-rebuild
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-slim
99
strategy:
1010
matrix:
1111
node-version: [22.21.1, 22.x, 24.x]

.github/workflows/enforce-pullrequest-rules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
check:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-slim
1616
if: github.event_name == 'pull_request'
1717
timeout-minutes: 10
1818
steps:

.github/workflows/release-notes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
release-notes:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-slim
1919
timeout-minutes: 15
2020
steps:
2121
- name: "Checkout code"

.github/workflows/spellcheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
jobs:
1414
spellcheck:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-slim
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v6

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
stale:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
steps:
1515
- uses: actions/stale@v10
1616
with:

0 commit comments

Comments
 (0)