From 1d9bfc17ea2db79e664d3c0cf17c350355805cab Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Sat, 19 Sep 2026 23:05:50 +0200 Subject: [PATCH] [TASK] Pin the workflows to ubuntu-24.04 Every run on main and the release of 0.5.0 carried the same annotation: the ubuntu-latest label migrates to Ubuntu 26 on 19 October 2026. Both workflows install Chromium's system libraries through Playwright, and which image those land on should be a decision made in the workflow, not one made by a calendar -- least of all on a release, which would be the first run to find out. Both jobs now name the image. Moving to the next one is a one-line change made on purpose, with a CI run to say whether it holds. Signed-off-by: Benjamin Kott --- .github/workflows/ci.yml | 6 +++++- .github/workflows/release.yml | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55ed35c..34754e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,11 @@ on: jobs: test: - runs-on: ubuntu-latest + # A named image rather than `ubuntu-latest`: that label moves to the next + # Ubuntu on a date GitHub picks, and with it the system libraries Playwright + # installs for Chromium. Which image the tests run on is a decision to make + # here, not one to be made by a calendar. + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fe1013..9d68ccb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,9 @@ on: jobs: publish: - runs-on: ubuntu-latest + # Pinned for the same reason as in ci.yml: a release must not be the first + # run to find out that the image moved. + runs-on: ubuntu-24.04 permissions: # Creating the release page.