From 5f2f5ea32acf508443a9935c3e6ae4c0eef4064e Mon Sep 17 00:00:00 2001 From: Adrien Mannocci Date: Tue, 27 Oct 2026 16:43:37 +0100 Subject: [PATCH] chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim Run Linux tests only on ubuntu-slim for actions that don't need Docker. setup-qemu and setup-buildx stay on ubuntu-latest because ubuntu-slim has no Docker daemon. --- .claude/CLAUDE.md | 2 +- .github/workflows/test-create-pull-request.yml | 1 - .github/workflows/test-setup-github-bot.yml | 1 - .github/workflows/test-setup-rust.yml | 1 - .github/workflows/test-setup-uv.yml | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 3fbf158..7f61252 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -9,7 +9,7 @@ Monorepo of reusable GitHub Actions. Each top-level directory (e.g. `setup-githu ## Testing - Each action has `.github/workflows/test-.yml`, triggered on `workflow_call` and on pull requests / pushes to `main` that touch `/**` or the test workflow itself. -- Tests run the action from the local path (`uses: ./`) and then assert its effects in a shell step. They run on a matrix of ubuntu, macos and windows, so use `shell: bash` and portable commands. +- Tests run the action from the local path (`uses: ./`) and then assert its effects in a shell step. They run on a matrix of `ubuntu-slim`, `macos-latest` and `windows-latest`, so use `shell: bash` and portable commands. Actions that need Docker (setup-qemu, setup-buildx) run on `ubuntu-latest` only, because `ubuntu-slim` has no Docker daemon. ## Release architecture diff --git a/.github/workflows/test-create-pull-request.yml b/.github/workflows/test-create-pull-request.yml index 7d5b6ee..5be0e11 100644 --- a/.github/workflows/test-create-pull-request.yml +++ b/.github/workflows/test-create-pull-request.yml @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest - ubuntu-slim - macos-latest - windows-latest diff --git a/.github/workflows/test-setup-github-bot.yml b/.github/workflows/test-setup-github-bot.yml index d3edbcb..08b672e 100644 --- a/.github/workflows/test-setup-github-bot.yml +++ b/.github/workflows/test-setup-github-bot.yml @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest - ubuntu-slim - macos-latest - windows-latest diff --git a/.github/workflows/test-setup-rust.yml b/.github/workflows/test-setup-rust.yml index 0d212ad..5c02b0d 100644 --- a/.github/workflows/test-setup-rust.yml +++ b/.github/workflows/test-setup-rust.yml @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest - ubuntu-slim - macos-latest - windows-latest diff --git a/.github/workflows/test-setup-uv.yml b/.github/workflows/test-setup-uv.yml index c93fee7..e4dc50e 100644 --- a/.github/workflows/test-setup-uv.yml +++ b/.github/workflows/test-setup-uv.yml @@ -23,7 +23,6 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest - ubuntu-slim - macos-latest - windows-latest