Skip to content

Commit f70a335

Browse files
committed
ci: pin to ubuntu-22.04
1 parent 73f8ba4 commit f70a335

File tree

10 files changed

+36
-36
lines changed

10 files changed

+36
-36
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: 10 additions & 10 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
@@ -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
@@ -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-prqlc-c.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-c:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-22.04
1717
steps:
1818
- name: 📂 Checkout code
1919
uses: actions/checkout@v4

.github/workflows/tests.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# the changes in PR, others also define a set of other criteria, such as
3636
# whether a label has been added, or we're on `main` branch.
3737
rules:
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-22.04
3939
permissions:
4040
pull-requests: read
4141
outputs:
@@ -354,7 +354,7 @@ jobs:
354354
# Another option is https://github.com/lycheeverse/lychee, but it was
355355
# weirdly difficult to exclude a directory, and I managed to get
356356
# rate-limited by GH because of it scanning node_modules.
357-
runs-on: ubuntu-latest
357+
runs-on: ubuntu-22.04
358358
steps:
359359
- name: 📂 Checkout code
360360
uses: actions/checkout@v4
@@ -380,7 +380,7 @@ jobs:
380380
needs.rules.outputs.book == 'true' || needs.rules.outputs.nightly ==
381381
'true'
382382

383-
runs-on: ubuntu-latest
383+
runs-on: ubuntu-22.04
384384

385385
steps:
386386
- name: 📂 Checkout code
@@ -407,7 +407,7 @@ jobs:
407407
run: hyperlink web/book/book/
408408

409409
measure-code-cov:
410-
runs-on: ubuntu-latest
410+
runs-on: ubuntu-22.04
411411
needs: rules
412412
steps:
413413
- name: 📂 Checkout code
@@ -473,7 +473,7 @@ jobs:
473473
test-grammars:
474474
# Currently tests lezer grammars. We could split that out into a separate
475475
# job if we want when we add more.
476-
runs-on: ubuntu-latest
476+
runs-on: ubuntu-22.04
477477
needs: rules
478478
if:
479479
needs.rules.outputs.grammars == 'true' || needs.rules.outputs.main ==
@@ -510,7 +510,7 @@ jobs:
510510
push: ${{ needs.rules.outputs.devcontainer-push == 'true' }}
511511

512512
test-msrv:
513-
runs-on: ubuntu-latest
513+
runs-on: ubuntu-22.04
514514
needs: rules
515515
if: needs.rules.outputs.nightly == 'true'
516516
steps:
@@ -528,7 +528,7 @@ jobs:
528528
run: cargo msrv verify
529529

530530
test-deps-min-versions:
531-
runs-on: ubuntu-latest
531+
runs-on: ubuntu-22.04
532532
needs: rules
533533
if: needs.rules.outputs.nightly == 'true'
534534
steps:
@@ -576,7 +576,7 @@ jobs:
576576
- test-rust
577577
- test-rust-main
578578
- test-taskfile
579-
runs-on: ubuntu-latest
579+
runs-on: ubuntu-22.04
580580
steps:
581581
- name: Decide whether the needed jobs succeeded or failed
582582
# https://github.com/re-actors/alls-green/issues/23
@@ -698,7 +698,7 @@ jobs:
698698
RUSTDOCFLAGS: "-Dwarnings"
699699

700700
create-issue-on-nightly-failure:
701-
runs-on: ubuntu-latest
701+
runs-on: ubuntu-22.04
702702
needs:
703703
- check-ok-to-merge
704704
- rules
@@ -723,7 +723,7 @@ jobs:
723723
search_existing: open
724724

725725
update-rust-toolchain:
726-
runs-on: ubuntu-latest
726+
runs-on: ubuntu-22.04
727727
needs: rules
728728
if: ${{ needs.rules.outputs.nightly-upstream == 'true' }}
729729
# Note that this doesn't change the minimum supported version, only the

0 commit comments

Comments
 (0)