This is an automated email from the ASF dual-hosted git repository.
gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 653ededd chore: use ubuntu-slim for lightweight jobs (#578)
653ededd is described below
commit 653ededd9ba0360d025ee465838ee3a937d19562
Author: Junwang Zhao <[email protected]>
AuthorDate: Fri Feb 27 15:29:43 2026 +0800
chore: use ubuntu-slim for lightweight jobs (#578)
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
https://github.com/apache/orc/pull/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
---
.github/workflows/codeql.yml | 2 +-
.github/workflows/docs.yml | 2 +-
.github/workflows/license_check.yml | 2 +-
.github/workflows/pre-commit.yml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 2a78d6e2..e71958d9 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -35,7 +35,7 @@ permissions:
jobs:
analyze:
name: Analyze Actions
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
contents: read
security-events: write
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7ad32af1..c6ec84fd 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -34,7 +34,7 @@ permissions:
jobs:
docs:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
diff --git a/.github/workflows/license_check.yml
b/.github/workflows/license_check.yml
index 1d70c529..8bed66aa 100644
--- a/.github/workflows/license_check.yml
+++ b/.github/workflows/license_check.yml
@@ -25,7 +25,7 @@ permissions:
jobs:
license-check:
name: "License Check"
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-slim
steps:
- name: Checkout repository
uses: actions/checkout@v6
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index efdc6c16..67f8ec58 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -29,7 +29,7 @@ permissions:
jobs:
pre-commit:
- runs-on: ubuntu-24.04
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6