From 97635b06716b306dbf234d0eb999e828d8a40b35 Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Fri, 20 Nov 2026 05:21:21 +0000 Subject: [PATCH] ci: pin MySQL-dependent jobs to ubuntu-24.04 ubuntu-latest now resolves to the ubuntu-26.04 runner image, which no longer ships a preinstalled MySQL server, so the 'Start local MySQL' step fails with: sudo: '/etc/init.d/mysql': command not found Pin the CI build job and the upgrade job, the only ones that use the runner's MySQL, to ubuntu-24.04. --- .github/workflows/main.yml | 2 +- .github/workflows/upgrade.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4821ad33d..e1c57a4c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # needs the preinstalled MySQL; ubuntu-26.04 (ubuntu-latest) has none steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml index fcdf675d9..34d327017 100644 --- a/.github/workflows/upgrade.yml +++ b/.github/workflows/upgrade.yml @@ -5,7 +5,7 @@ on: [pull_request] jobs: upgrade: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # needs the preinstalled MySQL; ubuntu-26.04 (ubuntu-latest) has none # strategy: # matrix: # backend: [sqlite, MySQL]