This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new fd7042c5 chore: use ubuntu-slim for lightweight jobs (#760)
fd7042c5 is described below
commit fd7042c5e41bd2a05383c8e2cbf6c50866214374
Author: Junwang Zhao <[email protected]>
AuthorDate: Sat Feb 28 00:52:57 2026 +0800
chore: use ubuntu-slim for lightweight jobs (#760)
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/codeql.yml | 2 +-
.github/workflows/go-release-docs.yml | 2 +-
.github/workflows/labeler.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index e81c7158..253a883a 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/go-release-docs.yml
b/.github/workflows/go-release-docs.yml
index 7aff7a87..1b5ce37a 100644
--- a/.github/workflows/go-release-docs.yml
+++ b/.github/workflows/go-release-docs.yml
@@ -36,7 +36,7 @@ permissions:
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
contents: write
steps:
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index e56be9f4..5adfcbfc 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -24,7 +24,7 @@ permissions:
jobs:
triage:
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-slim
steps:
- uses: actions/labeler@v4
with: