Skip to content

Commit c246c63

Browse files
authored
ci: pin to ubuntu-22.04 for now (#4942)
1 parent 73f8ba4 commit c246c63

15 files changed

+73
-70
lines changed

.github/workflows/build-devcontainer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
timeout-minutes: 3600
1919
steps:
2020
- name: 📂 Checkout code

.github/workflows/build-web.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313

1414
jobs:
1515
build-web:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717

1818
steps:
1919
- name: 📂 Checkout code
@@ -65,7 +65,7 @@ jobs:
6565
path: web/website/public/
6666

6767
build-codemirror-demo:
68-
runs-on: ubuntu-latest
68+
runs-on: ubuntu-22.04
6969

7070
steps:
7171
- name: 📂 Checkout code

.github/workflows/lint-megalinter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030
jobs:
3131
megalinter:
3232
name: MegaLinter
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-22.04
3434

3535
# Give the default GITHUB_TOKEN write permission to commit and push, comment
3636
# issues & post new PR; remove the ones you do not need

.github/workflows/nightly.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
cargo-audit:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222
# We can't read PRQL repo security events on forks, which causes this to
2323
# incorrectly fail (
2424
# https://github.com/PRQL/prql/actions/runs/5718693342/job/15495030808?pr=3195#step:3:28
@@ -44,7 +44,7 @@ jobs:
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545

4646
cargo-bench:
47-
runs-on: ubuntu-latest
47+
runs-on: ubuntu-22.04
4848
steps:
4949
- uses: actions/checkout@v4
5050
- uses: clechasseur/rs-cargo@v2
@@ -56,7 +56,7 @@ jobs:
5656
args: -- --warm-up-time=0.3 --measurement-time=1
5757

5858
time-compilation:
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-22.04
6060
strategy:
6161
matrix:
6262
use_cache: [true, false]
@@ -74,7 +74,7 @@ jobs:
7474
RUSTDOCFLAGS: "-Dwarnings"
7575

7676
check-unused-dependencies:
77-
runs-on: ubuntu-latest
77+
runs-on: ubuntu-22.04
7878
steps:
7979
- name: 📂 Checkout code
8080
uses: actions/checkout@v4
@@ -97,7 +97,7 @@ jobs:
9797

9898
# test-docker:
9999
# # We only test the build in `test-all`; this also runs tests.
100-
# runs-on: ubuntu-latest
100+
# runs-on: ubuntu-22.04
101101
# steps:
102102
# - name: 📂 Checkout code
103103
# uses: actions/checkout@v4
@@ -123,7 +123,7 @@ jobs:
123123

124124
code-ql:
125125
# Currently almost the default code-ql config
126-
runs-on: ubuntu-latest
126+
runs-on: ubuntu-22.04
127127
permissions:
128128
actions: read
129129
contents: read

.github/workflows/publish-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
deploy-web:
3131
needs: build-web
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-22.04
3333

3434
# Don't attempt to publish if on a fork or on a PR running on upstream.
3535
if:

.github/workflows/pull-request-target.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
main:
1616
name: Validate PR title
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: amannn/action-semantic-pull-request@v5
2020
env:
@@ -47,7 +47,7 @@ jobs:
4747
backport:
4848
# Backport to `web` branch on `pr-backport-web`
4949
name: Backport to `web` branch
50-
runs-on: ubuntu-latest
50+
runs-on: ubuntu-22.04
5151
# Confirm that it's merged and has a label to ensure nothing is backported without oversight
5252
if: |
5353
github.event.pull_request.merged
@@ -69,7 +69,7 @@ jobs:
6969
title_template: "chore: Backport #<%= number%> to `web`"
7070

7171
automerge:
72-
runs-on: ubuntu-latest
72+
runs-on: ubuntu-22.04
7373

7474
permissions:
7575
pull-requests: write

.github/workflows/release.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
brew-dispatcher:
2424
name: Release on homebrew-prql
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-22.04
2626
if: github.event_name == 'release'
2727
steps:
2828
- uses: actions/github-script@v7
@@ -46,9 +46,9 @@ jobs:
4646
fail-fast: false
4747
matrix:
4848
include:
49-
- os: ubuntu-latest
49+
- os: ubuntu-22.04
5050
target: x86_64-unknown-linux-musl
51-
- os: ubuntu-latest
51+
- os: ubuntu-22.04
5252
target: aarch64-unknown-linux-musl
5353
- os: macos-14
5454
target: aarch64-apple-darwin
@@ -93,9 +93,9 @@ jobs:
9393
fail-fast: false
9494
matrix:
9595
include:
96-
- os: ubuntu-latest
96+
- os: ubuntu-22.04
9797
target: x86_64-unknown-linux-musl
98-
- os: ubuntu-latest
98+
- os: ubuntu-22.04
9999
target: aarch64-unknown-linux-musl
100100
- os: macos-14
101101
target: aarch64-apple-darwin
@@ -119,7 +119,7 @@ jobs:
119119
files: ${{ steps.build-artifact.outputs.artifact-name }}
120120

121121
publish-winget:
122-
runs-on: ubuntu-latest
122+
runs-on: ubuntu-22.04
123123
needs: build-prqlc
124124
if: github.event_name == 'release'
125125
steps:
@@ -133,7 +133,7 @@ jobs:
133133
fork-user: prql-bot
134134

135135
build-deb-package:
136-
runs-on: ubuntu-latest
136+
runs-on: ubuntu-22.04
137137
strategy:
138138
fail-fast: false
139139
matrix:
@@ -188,7 +188,7 @@ jobs:
188188
files: prqlc_*.deb
189189

190190
build-rpm-package:
191-
runs-on: ubuntu-latest
191+
runs-on: ubuntu-22.04
192192
strategy:
193193
fail-fast: false
194194
matrix:
@@ -248,7 +248,7 @@ jobs:
248248
files: prqlc-*.rpm
249249

250250
build-and-publish-snap:
251-
runs-on: ubuntu-latest
251+
runs-on: ubuntu-22.04
252252
if: ${{ github.event_name == 'release' }}
253253
steps:
254254
- name: 📂 Checkout code
@@ -273,7 +273,7 @@ jobs:
273273
strategy:
274274
fail-fast: true
275275
matrix:
276-
os: [ubuntu-latest, windows-latest]
276+
os: [ubuntu-22.04, windows-latest]
277277
package:
278278
- prqlc-python
279279
- lutra-python
@@ -287,16 +287,16 @@ jobs:
287287
package: lutra-python
288288
target: universal2-apple-darwin
289289
# Also produce more targets for ubuntu:
290-
- os: ubuntu-latest
290+
- os: ubuntu-22.04
291291
package: prqlc-python
292292
target: aarch64
293-
- os: ubuntu-latest
293+
- os: ubuntu-22.04
294294
package: prqlc-python
295295
target: source
296-
- os: ubuntu-latest
296+
- os: ubuntu-22.04
297297
package: lutra-python
298298
target: aarch64
299-
- os: ubuntu-latest
299+
- os: ubuntu-22.04
300300
package: lutra-python
301301
target: source
302302
steps:
@@ -309,7 +309,7 @@ jobs:
309309
profile: release
310310

311311
publish-python:
312-
runs-on: ubuntu-latest
312+
runs-on: ubuntu-22.04
313313
needs: [build-python-wheels]
314314
if: github.event_name == 'release'
315315
strategy:
@@ -332,7 +332,7 @@ jobs:
332332
args: --skip-existing *
333333

334334
publish-js:
335-
runs-on: ubuntu-latest
335+
runs-on: ubuntu-22.04
336336
steps:
337337
- name: 📂 Checkout code
338338
uses: actions/checkout@v4
@@ -368,7 +368,7 @@ jobs:
368368
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
369369

370370
publish-to-cargo:
371-
runs-on: ubuntu-latest
371+
runs-on: ubuntu-22.04
372372
steps:
373373
- name: 📂 Checkout code
374374
uses: actions/checkout@v4
@@ -386,7 +386,7 @@ jobs:
386386

387387
# Requires another pass: https://github.com/PRQL/prql/issues/850
388388
# publish-prql-java:
389-
# runs-on: ubuntu-latest
389+
# runs-on: ubuntu-22.04
390390
# steps:
391391
# - name: Checkout code
392392
# uses: actions/checkout@v4
@@ -404,7 +404,7 @@ jobs:
404404
# directory: prql-java/java/
405405

406406
push-web-branch:
407-
runs-on: ubuntu-latest
407+
runs-on: ubuntu-22.04
408408
if: github.event_name == 'release'
409409
steps:
410410
- name: 📂 Checkout code

.github/workflows/test-dotnet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- name: 📂 Checkout code
1919
uses: actions/checkout@v4

.github/workflows/test-elixir.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
inputs:
66
oss:
77
type: string
8-
default: '["ubuntu-latest"]'
8+
default: '["ubuntu-22.04"]'
99
workflow_dispatch:
1010
inputs:
1111
oss:
1212
type: string
13-
default: '["ubuntu-latest"]'
13+
default: '["ubuntu-22.04"]'
1414

1515
defaults:
1616
run:

.github/workflows/test-java.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
inputs:
66
oss:
77
type: string
8-
default: '["ubuntu-latest"]'
8+
default: '["ubuntu-22.04"]'
99
workflow_dispatch:
1010
inputs:
1111
oss:
1212
type: string
13-
default: '["ubuntu-latest"]'
13+
default: '["ubuntu-22.04"]'
1414

1515
# We need consistent env vars across all workflows for the cache to work
1616
env:

0 commit comments

Comments
 (0)