diff --git a/.github/workflows/pgbouncer-ci.yml b/.github/workflows/pgbouncer-ci.yml
index 42a43522ff15..110ddb7618ed 100644
--- a/.github/workflows/pgbouncer-ci.yml
+++ b/.github/workflows/pgbouncer-ci.yml
@@ -506,7 +506,7 @@ jobs:
 
   format-check:
     name: Formatting & linting
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v7
       - uses: actions/setup-python@v7
