From eb593aa8464a7dcce363789525a4ce31896f5495 Mon Sep 17 00:00:00 2001 From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com> Date: Sat, 3 Jan 2026 08:31:11 +0000 Subject: [PATCH] GHA CI: Use `ubuntu-slim` runner image for low priority tasks As mentioned briefly in https://github.com/qbittorrent/qBittorrent/pull/23631#issuecomment-3677881954 & https://github.com/qbittorrent/qBittorrent/pull/23631#issuecomment-3677940316 Make use of `ubuntu-slim` runner images in our `CI` where applicable/practical. From https://docs.github.com/en/actions/reference/runners/github-hosted-runners#single-cpu-runners : >This type of runner is optimized for automation tasks, issue operations and short-running jobs. They are not suitable for typical heavyweight CI/CD builds. * https://github.com/actions/runner-images?tab=readme-ov-file#available-images * https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md * https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories PR #23661. --- .github/workflows/ci_file_health.yaml | 2 +- .github/workflows/ci_webui.yaml | 2 +- .github/workflows/stale_bot.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_file_health.yaml b/.github/workflows/ci_file_health.yaml index ac4338b3b..9e44cf39f 100644 --- a/.github/workflows/ci_file_health.yaml +++ b/.github/workflows/ci_file_health.yaml @@ -11,7 +11,7 @@ concurrency: jobs: ci: name: Check - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: security-events: write steps: diff --git a/.github/workflows/ci_webui.yaml b/.github/workflows/ci_webui.yaml index 3e2515e03..ef9e9b408 100644 --- a/.github/workflows/ci_webui.yaml +++ b/.github/workflows/ci_webui.yaml @@ -11,7 +11,7 @@ concurrency: jobs: ci: name: Check - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: security-events: write diff --git a/.github/workflows/stale_bot.yaml b/.github/workflows/stale_bot.yaml index e218eac5e..8eb187a6e 100644 --- a/.github/workflows/stale_bot.yaml +++ b/.github/workflows/stale_bot.yaml @@ -8,7 +8,7 @@ permissions: {} jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: pull-requests: write steps: