Skip to content

Commit b98e863

Browse files
committed
chore: use ubuntu-slim for lightweight jobs
ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We can use this to save ASF infra usage (if possible). This topic was raised in the Apache ORC project, see apache/orc#2566 Refs: - https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/ - https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md
1 parent f955a55 commit b98e863

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ permissions:
3535
jobs:
3636
analyze:
3737
name: Analyze Actions
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-slim
3939
permissions:
4040
contents: read
4141
security-events: write

.github/workflows/cpp-linter.yml

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

2929
jobs:
3030
cpp-linter:
31-
runs-on: ubuntu-24.04
31+
runs-on: ubuntu-slim
3232
permissions:
3333
contents: read
3434
pull-requests: write

.github/workflows/docs.yml

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

3535
jobs:
3636
docs:
37-
runs-on: ubuntu-24.04
37+
runs-on: ubuntu-slim
3838

3939
steps:
4040
- uses: actions/checkout@v6

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ permissions:
2525
jobs:
2626
license-check:
2727
name: "License Check"
28-
runs-on: ubuntu-24.04
28+
runs-on: ubuntu-slim
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v6

.github/workflows/pre-commit.yml

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

3030
jobs:
3131
pre-commit:
32-
runs-on: ubuntu-24.04
32+
runs-on: ubuntu-slim
3333
steps:
3434
- uses: actions/checkout@v6
3535
- uses: actions/setup-python@v6

0 commit comments

Comments
 (0)