This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git
The following commit(s) were added to refs/heads/main by this push:
new 0142b6f [SPARK-55759] Use `ubuntu-slim` for GitHub Actions
`license-check` job
0142b6f is described below
commit 0142b6f6b15d5f8fcbc792a1510e37ebb3cd2ec4
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Feb 28 13:38:48 2026 -0800
[SPARK-55759] Use `ubuntu-slim` for GitHub Actions `license-check` job
### What changes were proposed in this pull request?
This PR aims to use `ubuntu-slim` for GitHub Actions `license-check` job.
### Why are the changes needed?
`ubuntu-slim` is a new cost-efficient runner to fit small jobs like
`license-check`. We had better use this to save ASF infra usage (if possible)
-
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
| Feature | `ubuntu-slim` | `ubuntu-latest` |
| :--- | :---: | :---: |
| **Cost (per minute)** | **$0.002** | **$0.012** |
| **Cost for 1,000 mins** | **$2.00** | **$12.00** |
| **CPU** | 1 vCPU | 4 vCPU |
| **Memory (RAM)** | 5 GB | 16 GB |
| **Storage (SSD)** | 14 GB | 14 GB |
| **Maximum Runtime** | **15 Minutes** | 6 Hours |
| **Isolation Type** | Container-based (L2) | Dedicated VM |
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`
Closes #300 from dongjoon-hyun/SPARK-55759.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 90b8dda..9e66a09 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -28,7 +28,7 @@ on:
jobs:
license-check:
name: "License Check"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
timeout-minutes: 20
steps:
- name: Checkout repository
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]