Skip to content

Commit 8839a31

Browse files
ci: pin GitHub Actions runners to Ubuntu 24.04
ubuntu-latest now resolves to 26.04, which drops Python 3.9, installs OpenJDK 25 (Spark fails on Subject.getSubject), and has no Playwright Chromium build. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3df452c commit 8839a31

6 files changed

Lines changed: 25 additions & 18 deletions

File tree

‎.github/workflows/db2.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ concurrency:
2929
permissions:
3030
contents: read
3131

32+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
3233
jobs:
3334
db2-test:
34-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-24.04
3536
timeout-minutes: 25
3637
env:
3738
PYTEST_XDIST_AUTO_NUM_WORKERS: 2

‎.github/workflows/dco.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Sanity check
22
on: [pull_request]
33

4+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
45
jobs:
56
commits_check_job:
6-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-24.04
78
name: Commits Check
89
steps:
910
- name: Get PR Commits

‎.github/workflows/pr.yaml‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ concurrency:
1010
cancel-in-progress: true
1111
permissions:
1212
contents: read
13+
# ubuntu-latest is Ubuntu 26.04. That image drops Python 3.9, installs OpenJDK 25
14+
# (Spark/Hadoop calls the removed Subject.getSubject), and has no Playwright Chromium.
1315
jobs:
1416
changes:
15-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1618
outputs:
1719
python: ${{ steps.filter.outputs.python }}
1820
client: ${{ steps.filter.outputs.client }}
@@ -50,7 +52,7 @@ jobs:
5052
if:
5153
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
5254
'true' || github.ref == 'refs/heads/main'
53-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-24.04
5456
env:
5557
UV: '1'
5658
steps:
@@ -76,7 +78,7 @@ jobs:
7678
if:
7779
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
7880
'true' || github.ref == 'refs/heads/main'
79-
runs-on: ubuntu-latest
81+
runs-on: ubuntu-24.04
8082
strategy:
8183
fail-fast: false
8284
matrix:
@@ -173,7 +175,7 @@ jobs:
173175
if:
174176
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
175177
'true' || github.ref == 'refs/heads/main'
176-
runs-on: ubuntu-latest
178+
runs-on: ubuntu-24.04
177179
env:
178180
SQLMESH__DISABLE_ANONYMIZED_ANALYTICS: '1'
179181
UV: '1'
@@ -202,7 +204,7 @@ jobs:
202204
needs.changes.outputs.client == 'true' || needs.changes.outputs.vscode ==
203205
'true' || needs.changes.outputs.ci == 'true' || github.ref ==
204206
'refs/heads/main'
205-
runs-on: ubuntu-latest
207+
runs-on: ubuntu-24.04
206208
steps:
207209
- uses: actions/checkout@v7
208210
- uses: actions/setup-node@v7
@@ -229,7 +231,7 @@ jobs:
229231
if:
230232
needs.changes.outputs.client == 'true' || needs.changes.outputs.ci ==
231233
'true' || github.ref == 'refs/heads/main'
232-
runs-on: ubuntu-latest
234+
runs-on: ubuntu-24.04
233235
container:
234236
image: mcr.microsoft.com/playwright:v1.54.1-jammy
235237
steps:
@@ -257,7 +259,7 @@ jobs:
257259
if:
258260
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
259261
'true' || github.ref == 'refs/heads/main'
260-
runs-on: ubuntu-latest
262+
runs-on: ubuntu-24.04
261263
timeout-minutes: 25
262264
strategy:
263265
fail-fast: false
@@ -312,7 +314,7 @@ jobs:
312314
engine-tests-cloud:
313315
needs: engine-tests-docker
314316
if: github.ref == 'refs/heads/main'
315-
runs-on: ubuntu-latest
317+
runs-on: ubuntu-24.04
316318
timeout-minutes: 25
317319
strategy:
318320
fail-fast: false
@@ -424,7 +426,7 @@ jobs:
424426
'true' || github.ref == 'refs/heads/main'
425427
env:
426428
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
427-
runs-on: ubuntu-latest
429+
runs-on: ubuntu-24.04
428430
steps:
429431
- uses: actions/checkout@v7
430432
- uses: actions/setup-node@v7
@@ -443,7 +445,7 @@ jobs:
443445
needs.changes.outputs.vscode == 'true' || needs.changes.outputs.lsp ==
444446
'true' || needs.changes.outputs.ci == 'true' || github.ref ==
445447
'refs/heads/main'
446-
runs-on: ubuntu-latest
448+
runs-on: ubuntu-24.04
447449
steps:
448450
- uses: actions/checkout@v7
449451
- uses: actions/setup-node@v7
@@ -489,7 +491,7 @@ jobs:
489491
if:
490492
needs.changes.outputs.python == 'true' || needs.changes.outputs.ci ==
491493
'true' || github.ref == 'refs/heads/main'
492-
runs-on: ubuntu-latest
494+
runs-on: ubuntu-24.04
493495
strategy:
494496
fail-fast: false
495497
matrix:

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
- 'v*.*.*'
66
permissions:
77
contents: write
8+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
89
jobs:
910
ui-build:
10-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1112
steps:
1213
- uses: actions/checkout@v7
1314
- uses: actions/setup-node@v7
@@ -29,7 +30,7 @@ jobs:
2930

3031
publish:
3132
needs: ui-build
32-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-24.04
3334
steps:
3435
- uses: actions/checkout@v7
3536
- name: Download UI build artifact
@@ -63,7 +64,7 @@ jobs:
6364
run: unset TWINE_USERNAME TWINE_PASSWORD && make publish-tests
6465

6566
gh-release:
66-
runs-on: ubuntu-latest
67+
runs-on: ubuntu-24.04
6768
steps:
6869
- uses: actions/checkout@v7
6970
with:

‎.github/workflows/release_extension.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ on:
66
description: 'Version to release (e.g., 1.0.0)'
77
required: true
88
type: string
9+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
910
jobs:
1011
release:
11-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1213
steps:
1314
- name: Checkout repository
1415
uses: actions/checkout@v7

‎.github/workflows/release_shared_js.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ on:
99
permissions:
1010
id-token: write
1111
contents: read
12+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
1213
jobs:
1314
release:
14-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1516
steps:
1617
- name: Checkout repository
1718
uses: actions/checkout@v7

0 commit comments

Comments
 (0)