This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git
The following commit(s) were added to refs/heads/main by this push:
new a1ff69fb9d7 Use ubuntu-slim for lightweight workflows (#48)
a1ff69fb9d7 is described below
commit a1ff69fb9d761f36c62678660ff3c28337fa5df5
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Oct 8 14:06:47 2026 +0200
Use ubuntu-slim for lightweight workflows (#48)
Move lightweight checks and the staging reset/dependency update workflows
to ubuntu-slim. Keep the S3 sync workflows on standard runners.
Co-authored-by: Copilot <[email protected]>
---
.github/workflows/asf-allowlist-check.yml | 2 +-
.github/workflows/build.yml | 8 +-------
.github/workflows/reset-staging.yml | 2 +-
.github/workflows/update-pinned-deps.yml | 2 +-
4 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/asf-allowlist-check.yml
b/.github/workflows/asf-allowlist-check.yml
index 1dcadde378a..9c619fd0533 100644
--- a/.github/workflows/asf-allowlist-check.yml
+++ b/.github/workflows/asf-allowlist-check.yml
@@ -27,7 +27,7 @@ permissions:
contents: read
jobs:
asf-allowlist-check:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 09730f6592e..1d387c3c4ce 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,14 +12,8 @@ concurrency:
jobs:
lint:
name: "Lint the repository"
- runs-on: ["ubuntu-22.04"]
+ runs-on: ubuntu-slim
steps:
- - name: 🪓 Remove some stuff we don't need
- run: |
- sudo rm -rf /usr/share/dotnet
- sudo rm -rf /opt/ghc
- sudo rm -rf "/usr/local/share/boost"
- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: "Install uv"
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} ) for scripts"
diff --git a/.github/workflows/reset-staging.yml
b/.github/workflows/reset-staging.yml
index 6fdeb53063e..894d62c0c0f 100644
--- a/.github/workflows/reset-staging.yml
+++ b/.github/workflows/reset-staging.yml
@@ -27,7 +27,7 @@ concurrency:
cancel-in-progress: false
jobs:
reset-staging:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
# Needed to force push to staging
contents: write
diff --git a/.github/workflows/update-pinned-deps.yml
b/.github/workflows/update-pinned-deps.yml
index 4351eb2a7ec..59da2c416b1 100644
--- a/.github/workflows/update-pinned-deps.yml
+++ b/.github/workflows/update-pinned-deps.yml
@@ -38,7 +38,7 @@ concurrency:
jobs:
update:
name: "Update pins on ${{ matrix.branch }}"
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
if: github.repository == 'apache/airflow-site-archive'
permissions:
contents: write # push the update branch