This is an automated email from the ASF dual-hosted git repository.
kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 01a6a431d chore: use ubuntu-slim for lightweight jobs (#2187)
01a6a431d is described below
commit 01a6a431d641202d6428f7d3af1e8ce27985e3a2
Author: Junwang Zhao <[email protected]>
AuthorDate: Sat Feb 28 02:53:04 2026 +0800
chore: use ubuntu-slim for lightweight jobs (#2187)
ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We
can use this to save ASF infra usage (if possible).
By *lightweight* I mean jobs that run for less than a minute and are not
easily affected by other concurrently running jobs on the same host.
This topic was raised in the Apache ORC project and later adopted by
iceberg-cpp. We believe it could also benefit other projects under the
Apache Iceberg umbrella.
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/bindings_python_ci.yml | 2 +-
.github/workflows/ci_typos.yml | 2 +-
.github/workflows/codeql.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/bindings_python_ci.yml
b/.github/workflows/bindings_python_ci.yml
index a78f27b0b..78e1a9615 100644
--- a/.github/workflows/bindings_python_ci.yml
+++ b/.github/workflows/bindings_python_ci.yml
@@ -56,7 +56,7 @@ jobs:
run: cargo clippy --all-targets --all-features -- -D warnings
check-python:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
diff --git a/.github/workflows/ci_typos.yml b/.github/workflows/ci_typos.yml
index 38541bffb..1dd42ed25 100644
--- a/.github/workflows/ci_typos.yml
+++ b/.github/workflows/ci_typos.yml
@@ -38,7 +38,7 @@ permissions:
jobs:
typos-check:
name: typos check
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
timeout-minutes: 10
env:
FORCE_COLOR: 1
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 7fef7973e..17bfd8bf3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -33,7 +33,7 @@ permissions:
jobs:
analyze:
name: Analyze Actions
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
contents: read
security-events: write