Skip to content

Commit

Permalink
ci: set ubuntu-24.04 as default ubuntu runner (cypress-io#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Sep 30, 2024
1 parent ea45def commit 57759c9
Show file tree
Hide file tree
Showing 28 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
check-dist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-markdown-links:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Check links in Markdown files
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-basic-pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022, macos-14]
os: [ubuntu-24.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-component-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/example-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

start:
# example where we pass custom base URL
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:

config-file:
# example where we use a custom config-file
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:

separate-specs:
# example where we pass specs to run via multiple lines
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -61,7 +61,7 @@ jobs:
separate-specs-with-wildcard:
# example where we pass specs to run via multiple lines and wildcards
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
nightly:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/example-custom-ci-build-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:
jobs:

check-record-key:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
record-key-exists: ${{ steps.record-key-check.outputs.defined }}
steps:
Expand All @@ -56,7 +56,7 @@ jobs:
# single job that generates and outputs a common id
prepare:
needs: [check-record-key]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: needs.check-record-key.outputs.record-key-exists == 'true'
outputs:
uuid: ${{ steps.uuid.outputs.value }}
Expand All @@ -75,7 +75,7 @@ jobs:
# and record it to the Cypress Cloud
smoke-tests:
needs: [prepare]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand All @@ -101,7 +101,7 @@ jobs:
# under different groups
all-tests:
needs: [prepare, smoke-tests]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-custom-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
start:
# example where instead of forming the default "cypress run ..."
# the user can specify their own command
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/example-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
action-debug:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -33,7 +33,7 @@ jobs:
working-directory: examples/basic

cypress-debug:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -52,7 +52,7 @@ jobs:
# DEBUG: '@cypress/github-action, cypress:*'

install-binary-debug:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
docker-browsers:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/example-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:

e2e:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -33,7 +33,7 @@ jobs:
# we are passing additional environment variables
# using "--env" command line option
# see https://on.cypress.io/configuration
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -50,7 +50,7 @@ jobs:
spec: cypress/e2e/spec.cy.js

with-action-env:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -72,7 +72,7 @@ jobs:
# 'environmentName' value comes from the workflow's environment
# 'apiPort' comes from the step's "env" block
# 'host' is defined in the action's "with: env:" parameter
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

firefox:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-install-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

install-command:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-install-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# do not install every dependency in this example
# just install Cypress, but make sure to cache it
install-cypress-only:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
# let's make sure Cypress works on several versions of Node
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-quiet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/example-recording.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
jobs:

check-record-key:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
record-key-exists: ${{ steps.record-key-check.outputs.defined }}
steps:
Expand All @@ -36,7 +36,7 @@ jobs:
fi
parallel:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [check-record-key]
strategy:
fail-fast: false
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
echo See results at ${{ steps.cypress.outputs.resultsUrl }}
group:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [check-record-key]
if: needs.check-record-key.outputs.record-key-exists == 'true'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-start-and-pnpm-workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# caches the Cypress binary cache,
# then runs Cypress tests in the single workspace
# of the subfolder "packages/workspace-1".
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Single workspace
steps:
- name: Checkout repository
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
# installs all dependencies,
# caches the Cypress binary cache,
# then runs Cypress tests in each of the workspaces.
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-start-and-yarn-workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# the example has Yarn workspace in its "root" folder
# examples/start-and-yarn-workspaces
# and tests in a subfolder like "workspace-1"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
# server start and waiting for the server
# to respond before running tests
# in each Yarn workspaces subfolder
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
# fail-fast: false allows tests for both workspaces to run even if one fails
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/example-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# example with web application build,
# server start and waiting for the server
# to respond before running tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
start-multiple:
# example with web application build
# and several services to start
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -54,7 +54,7 @@ jobs:
start-multiple-commas:
# example with web application build
# and several services to start
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Loading

0 comments on commit 57759c9

Please sign in to comment.