Skip to content

Commit 717aaee

Browse files
committed
ci: set ubuntu-24.04 as default ubuntu runner
1 parent bff0ae5 commit 717aaee

28 files changed

+58
-58
lines changed

.github/workflows/check-dist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
check-dist:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
steps:
2020
- name: Checkout

.github/workflows/check-markdown.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
check-markdown-links:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
name: Check links in Markdown files
1313
steps:
1414
- name: Checkout

.github/workflows/example-basic-pnpm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-22.04, windows-2022, macos-14]
15+
os: [ubuntu-24.04, windows-2022, macos-14]
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- name: Checkout

.github/workflows/example-chrome.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
tests:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/example-component-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
cypress-run:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4

.github/workflows/example-config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
start:
1212
# example where we pass custom base URL
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626

2727
config-file:
2828
# example where we use a custom config-file
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
4242

4343
separate-specs:
4444
# example where we pass specs to run via multiple lines
45-
runs-on: ubuntu-22.04
45+
runs-on: ubuntu-24.04
4646
steps:
4747
- name: Checkout
4848
uses: actions/checkout@v4
@@ -61,7 +61,7 @@ jobs:
6161
6262
separate-specs-with-wildcard:
6363
# example where we pass specs to run via multiple lines and wildcards
64-
runs-on: ubuntu-22.04
64+
runs-on: ubuntu-24.04
6565
steps:
6666
- name: Checkout
6767
uses: actions/checkout@v4

.github/workflows/example-cron.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
nightly:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4

.github/workflows/example-custom-ci-build-id.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ env:
4040
jobs:
4141

4242
check-record-key:
43-
runs-on: ubuntu-22.04
43+
runs-on: ubuntu-24.04
4444
outputs:
4545
record-key-exists: ${{ steps.record-key-check.outputs.defined }}
4646
steps:
@@ -56,7 +56,7 @@ jobs:
5656
# single job that generates and outputs a common id
5757
prepare:
5858
needs: [check-record-key]
59-
runs-on: ubuntu-22.04
59+
runs-on: ubuntu-24.04
6060
if: needs.check-record-key.outputs.record-key-exists == 'true'
6161
outputs:
6262
uuid: ${{ steps.uuid.outputs.value }}
@@ -75,7 +75,7 @@ jobs:
7575
# and record it to the Cypress Cloud
7676
smoke-tests:
7777
needs: [prepare]
78-
runs-on: ubuntu-22.04
78+
runs-on: ubuntu-24.04
7979
steps:
8080
- name: Checkout 🛎
8181
uses: actions/checkout@v4
@@ -101,7 +101,7 @@ jobs:
101101
# under different groups
102102
all-tests:
103103
needs: [prepare, smoke-tests]
104-
runs-on: ubuntu-22.04
104+
runs-on: ubuntu-24.04
105105
strategy:
106106
fail-fast: false
107107
matrix:

.github/workflows/example-custom-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
start:
1212
# example where instead of forming the default "cypress run ..."
1313
# the user can specify their own command
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Checkout 🛎
1717
uses: actions/checkout@v4

.github/workflows/example-debug.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
action-debug:
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4
@@ -33,7 +33,7 @@ jobs:
3333
working-directory: examples/basic
3434

3535
cypress-debug:
36-
runs-on: ubuntu-22.04
36+
runs-on: ubuntu-24.04
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4
@@ -52,7 +52,7 @@ jobs:
5252
# DEBUG: '@cypress/github-action, cypress:*'
5353

5454
install-binary-debug:
55-
runs-on: ubuntu-22.04
55+
runs-on: ubuntu-24.04
5656
steps:
5757
- name: Checkout
5858
uses: actions/checkout@v4

.github/workflows/example-docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
docker-browsers:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
strategy:
1313
fail-fast: false
1414
matrix:

.github/workflows/example-edge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
tests:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4

.github/workflows/example-env.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616

1717
e2e:
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4
@@ -33,7 +33,7 @@ jobs:
3333
# we are passing additional environment variables
3434
# using "--env" command line option
3535
# see https://on.cypress.io/configuration
36-
runs-on: ubuntu-22.04
36+
runs-on: ubuntu-24.04
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4
@@ -50,7 +50,7 @@ jobs:
5050
spec: cypress/e2e/spec.cy.js
5151

5252
with-action-env:
53-
runs-on: ubuntu-22.04
53+
runs-on: ubuntu-24.04
5454
steps:
5555
- name: Checkout
5656
uses: actions/checkout@v4
@@ -72,7 +72,7 @@ jobs:
7272
# 'environmentName' value comes from the workflow's environment
7373
# 'apiPort' comes from the step's "env" block
7474
# 'host' is defined in the action's "with: env:" parameter
75-
runs-on: ubuntu-22.04
75+
runs-on: ubuntu-24.04
7676
steps:
7777
- name: Checkout
7878
uses: actions/checkout@v4

.github/workflows/example-firefox.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
firefox:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/example-install-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
install-command:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/example-install-only.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# do not install every dependency in this example
1212
# just install Cypress, but make sure to cache it
1313
install-cypress-only:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Checkout 🛎
1717
uses: actions/checkout@v4

.github/workflows/example-node-versions.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
cypress-run:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
# let's make sure Cypress works on several versions of Node
1414
strategy:
1515
fail-fast: false

.github/workflows/example-quiet.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
cypress-run:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/example-recording.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323

2424
check-record-key:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626
outputs:
2727
record-key-exists: ${{ steps.record-key-check.outputs.defined }}
2828
steps:
@@ -36,7 +36,7 @@ jobs:
3636
fi
3737
3838
parallel:
39-
runs-on: ubuntu-22.04
39+
runs-on: ubuntu-24.04
4040
needs: [check-record-key]
4141
strategy:
4242
fail-fast: false
@@ -72,7 +72,7 @@ jobs:
7272
echo See results at ${{ steps.cypress.outputs.resultsUrl }}
7373
7474
group:
75-
runs-on: ubuntu-22.04
75+
runs-on: ubuntu-24.04
7676
needs: [check-record-key]
7777
if: needs.check-record-key.outputs.record-key-exists == 'true'
7878
steps:

.github/workflows/example-start-and-pnpm-workspaces.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# caches the Cypress binary cache,
1717
# then runs Cypress tests in the single workspace
1818
# of the subfolder "packages/workspace-1".
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
name: Single workspace
2121
steps:
2222
- name: Checkout repository
@@ -62,7 +62,7 @@ jobs:
6262
# installs all dependencies,
6363
# caches the Cypress binary cache,
6464
# then runs Cypress tests in each of the workspaces.
65-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-24.04
6666
strategy:
6767
fail-fast: false
6868
matrix:

.github/workflows/example-start-and-yarn-workspaces.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# the example has Yarn workspace in its "root" folder
1313
# examples/start-and-yarn-workspaces
1414
# and tests in a subfolder like "workspace-1"
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
@@ -30,7 +30,7 @@ jobs:
3030
# server start and waiting for the server
3131
# to respond before running tests
3232
# in each Yarn workspaces subfolder
33-
runs-on: ubuntu-22.04
33+
runs-on: ubuntu-24.04
3434
strategy:
3535
# fail-fast: false allows tests for both workspaces to run even if one fails
3636
fail-fast: false

.github/workflows/example-start.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# example with web application build,
1919
# server start and waiting for the server
2020
# to respond before running tests
21-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-24.04
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
start-multiple:
3535
# example with web application build
3636
# and several services to start
37-
runs-on: ubuntu-22.04
37+
runs-on: ubuntu-24.04
3838
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
5454
start-multiple-commas:
5555
# example with web application build
5656
# and several services to start
57-
runs-on: ubuntu-22.04
57+
runs-on: ubuntu-24.04
5858
steps:
5959
- name: Checkout
6060
uses: actions/checkout@v4

0 commit comments

Comments
 (0)