From d3a96f6c2169b419db6f7dbdf42acb264c600682 Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Fri, 27 Feb 2026 15:15:54 +0800 Subject: [PATCH 1/2] 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). 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/check-md-link.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/python-ci-docs.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-md-link.yml b/.github/workflows/check-md-link.yml index 4a77e78436..4ea600e95b 100644 --- a/.github/workflows/check-md-link.yml +++ b/.github/workflows/check-md-link.yml @@ -37,7 +37,7 @@ permissions: jobs: markdown-link-check: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@master - uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7fef7973e5..17bfd8bf3d 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 diff --git a/.github/workflows/python-ci-docs.yml b/.github/workflows/python-ci-docs.yml index 64c34eb35e..df55061170 100644 --- a/.github/workflows/python-ci-docs.yml +++ b/.github/workflows/python-ci-docs.yml @@ -35,7 +35,7 @@ concurrency: jobs: docs: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 From 7473e92b092e0e4785799a059c9dde37e259f2d5 Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Fri, 27 Feb 2026 16:28:00 +0800 Subject: [PATCH 2/2] revert changes in check-md-link.yml `check-md-link` requires a Docker environment, while `ubuntu-slim` already runs inside Docker, so reverting this change. --- .github/workflows/check-md-link.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-md-link.yml b/.github/workflows/check-md-link.yml index 4ea600e95b..4a77e78436 100644 --- a/.github/workflows/check-md-link.yml +++ b/.github/workflows/check-md-link.yml @@ -37,7 +37,7 @@ permissions: jobs: markdown-link-check: - runs-on: ubuntu-slim + runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225