From 57759c96de6558800c9f4ca0891ee00208151c43 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:27:19 +0200 Subject: [PATCH] ci: set ubuntu-24.04 as default ubuntu runner (#1265) --- .github/workflows/check-dist.yml | 2 +- .github/workflows/check-markdown.yml | 2 +- .github/workflows/example-basic-pnpm.yml | 2 +- .github/workflows/example-chrome.yml | 2 +- .github/workflows/example-component-test.yml | 2 +- .github/workflows/example-config.yml | 8 +++--- .github/workflows/example-cron.yml | 2 +- .../workflows/example-custom-ci-build-id.yml | 8 +++--- .github/workflows/example-custom-command.yml | 2 +- .github/workflows/example-debug.yml | 6 ++--- .github/workflows/example-docker.yml | 2 +- .github/workflows/example-edge.yml | 2 +- .github/workflows/example-env.yml | 8 +++--- .github/workflows/example-firefox.yml | 2 +- .github/workflows/example-install-command.yml | 2 +- .github/workflows/example-install-only.yml | 2 +- .github/workflows/example-node-versions.yml | 2 +- .github/workflows/example-quiet.yml | 2 +- .github/workflows/example-recording.yml | 6 ++--- .../example-start-and-pnpm-workspaces.yml | 4 +-- .../example-start-and-yarn-workspaces.yml | 4 +-- .github/workflows/example-start.yml | 6 ++--- .github/workflows/example-wait-on.yml | 26 +++++++++---------- .github/workflows/example-webpack.yml | 2 +- .github/workflows/example-yarn-classic.yml | 2 +- .github/workflows/example-yarn-modern-pnp.yml | 2 +- .github/workflows/example-yarn-modern.yml | 2 +- .github/workflows/main.yml | 4 +-- 28 files changed, 58 insertions(+), 58 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 75241bc63..67409a86b 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -14,7 +14,7 @@ on: jobs: check-dist: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout diff --git a/.github/workflows/check-markdown.yml b/.github/workflows/check-markdown.yml index f8be20da3..42ae19e08 100644 --- a/.github/workflows/check-markdown.yml +++ b/.github/workflows/check-markdown.yml @@ -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 diff --git a/.github/workflows/example-basic-pnpm.yml b/.github/workflows/example-basic-pnpm.yml index 37eea167f..19e1918de 100644 --- a/.github/workflows/example-basic-pnpm.yml +++ b/.github/workflows/example-basic-pnpm.yml @@ -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 diff --git a/.github/workflows/example-chrome.yml b/.github/workflows/example-chrome.yml index e5512dc6c..f1f48c7c0 100644 --- a/.github/workflows/example-chrome.yml +++ b/.github/workflows/example-chrome.yml @@ -9,7 +9,7 @@ on: jobs: tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-component-test.yml b/.github/workflows/example-component-test.yml index 93f194579..c56583473 100644 --- a/.github/workflows/example-component-test.yml +++ b/.github/workflows/example-component-test.yml @@ -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 diff --git a/.github/workflows/example-config.yml b/.github/workflows/example-config.yml index 13015c420..a8f8f00da 100644 --- a/.github/workflows/example-config.yml +++ b/.github/workflows/example-config.yml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/example-cron.yml b/.github/workflows/example-cron.yml index 6dfb7095b..1faf82c3d 100644 --- a/.github/workflows/example-cron.yml +++ b/.github/workflows/example-cron.yml @@ -7,7 +7,7 @@ on: jobs: nightly: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-custom-ci-build-id.yml b/.github/workflows/example-custom-ci-build-id.yml index 011540151..7e783c9bb 100644 --- a/.github/workflows/example-custom-ci-build-id.yml +++ b/.github/workflows/example-custom-ci-build-id.yml @@ -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: @@ -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 }} @@ -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 @@ -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: diff --git a/.github/workflows/example-custom-command.yml b/.github/workflows/example-custom-command.yml index 0d08a88fc..274829ce3 100644 --- a/.github/workflows/example-custom-command.yml +++ b/.github/workflows/example-custom-command.yml @@ -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 diff --git a/.github/workflows/example-debug.yml b/.github/workflows/example-debug.yml index c0d45bf26..7a54411bf 100644 --- a/.github/workflows/example-debug.yml +++ b/.github/workflows/example-debug.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/example-docker.yml b/.github/workflows/example-docker.yml index 17c31a300..f7b5f6068 100644 --- a/.github/workflows/example-docker.yml +++ b/.github/workflows/example-docker.yml @@ -8,7 +8,7 @@ on: jobs: docker-browsers: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/example-edge.yml b/.github/workflows/example-edge.yml index ca4d733db..08973c8f3 100644 --- a/.github/workflows/example-edge.yml +++ b/.github/workflows/example-edge.yml @@ -8,7 +8,7 @@ on: jobs: tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-env.yml b/.github/workflows/example-env.yml index 4905004d1..7394328ea 100644 --- a/.github/workflows/example-env.yml +++ b/.github/workflows/example-env.yml @@ -15,7 +15,7 @@ env: jobs: e2e: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/example-firefox.yml b/.github/workflows/example-firefox.yml index 96b430282..24e3c895f 100644 --- a/.github/workflows/example-firefox.yml +++ b/.github/workflows/example-firefox.yml @@ -9,7 +9,7 @@ on: jobs: firefox: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-install-command.yml b/.github/workflows/example-install-command.yml index ed363531d..4ccf3d1c5 100644 --- a/.github/workflows/example-install-command.yml +++ b/.github/workflows/example-install-command.yml @@ -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 diff --git a/.github/workflows/example-install-only.yml b/.github/workflows/example-install-only.yml index 8815ff619..a37b3f0ee 100644 --- a/.github/workflows/example-install-only.yml +++ b/.github/workflows/example-install-only.yml @@ -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 diff --git a/.github/workflows/example-node-versions.yml b/.github/workflows/example-node-versions.yml index 53ce29fb8..d00a014bf 100644 --- a/.github/workflows/example-node-versions.yml +++ b/.github/workflows/example-node-versions.yml @@ -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 diff --git a/.github/workflows/example-quiet.yml b/.github/workflows/example-quiet.yml index f74e2c5c0..b1631dee4 100644 --- a/.github/workflows/example-quiet.yml +++ b/.github/workflows/example-quiet.yml @@ -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 diff --git a/.github/workflows/example-recording.yml b/.github/workflows/example-recording.yml index aec0ac0c1..45cd32653 100644 --- a/.github/workflows/example-recording.yml +++ b/.github/workflows/example-recording.yml @@ -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: @@ -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 @@ -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: diff --git a/.github/workflows/example-start-and-pnpm-workspaces.yml b/.github/workflows/example-start-and-pnpm-workspaces.yml index a8e49beab..4a1e8be75 100644 --- a/.github/workflows/example-start-and-pnpm-workspaces.yml +++ b/.github/workflows/example-start-and-pnpm-workspaces.yml @@ -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 @@ -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: diff --git a/.github/workflows/example-start-and-yarn-workspaces.yml b/.github/workflows/example-start-and-yarn-workspaces.yml index 7987d1bd6..00bbd9d3e 100644 --- a/.github/workflows/example-start-and-yarn-workspaces.yml +++ b/.github/workflows/example-start-and-yarn-workspaces.yml @@ -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 @@ -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 diff --git a/.github/workflows/example-start.yml b/.github/workflows/example-start.yml index 543e4a5d2..cab721ede 100644 --- a/.github/workflows/example-start.yml +++ b/.github/workflows/example-start.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/example-wait-on.yml b/.github/workflows/example-wait-on.yml index 33cff79f1..15745d2fa 100644 --- a/.github/workflows/example-wait-on.yml +++ b/.github/workflows/example-wait-on.yml @@ -9,7 +9,7 @@ on: jobs: wait: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -24,7 +24,7 @@ jobs: wait-on: 'http://localhost:3050' wait-server-starts-after-100-seconds: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: wait-on-timeout: 110 wait2: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -51,7 +51,7 @@ jobs: wait-on: 'http://localhost:3050' wait2-delay-50: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -64,7 +64,7 @@ jobs: wait-on: 'http://localhost:3050' wait2-delay-120: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -78,7 +78,7 @@ jobs: wait-on-timeout: 130 wait3: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -92,7 +92,7 @@ jobs: wait-on: 'http://localhost:3050' wait3-for-200-seconds: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -107,7 +107,7 @@ jobs: wait-on-timeout: 210 wait4: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -119,7 +119,7 @@ jobs: wait-on: 'http://localhost:3050' wait-multiple: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -133,7 +133,7 @@ jobs: wait-on: 'http://localhost:3050, http://localhost:3060, http://localhost:3070' wait-on-nextjs: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -145,7 +145,7 @@ jobs: wait-on: 'http://localhost:3000' wait-using-custom-command: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -158,7 +158,7 @@ jobs: wait-on: 'npx wait-on --timeout 60000 http://localhost:3000' ping-cli: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -168,7 +168,7 @@ jobs: run: node src/ping-cli https://example.cypress.io wait-on-vite: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-webpack.yml b/.github/workflows/example-webpack.yml index b4105f761..427e69023 100644 --- a/.github/workflows/example-webpack.yml +++ b/.github/workflows/example-webpack.yml @@ -9,7 +9,7 @@ on: jobs: wait: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-yarn-classic.yml b/.github/workflows/example-yarn-classic.yml index 88ca8b427..98dc77b35 100644 --- a/.github/workflows/example-yarn-classic.yml +++ b/.github/workflows/example-yarn-classic.yml @@ -9,7 +9,7 @@ on: jobs: yarn-classic: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-yarn-modern-pnp.yml b/.github/workflows/example-yarn-modern-pnp.yml index 3c6fb392a..20e14c8eb 100644 --- a/.github/workflows/example-yarn-modern-pnp.yml +++ b/.github/workflows/example-yarn-modern-pnp.yml @@ -9,7 +9,7 @@ on: jobs: yarn-modern-pnp: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/example-yarn-modern.yml b/.github/workflows/example-yarn-modern.yml index 10d01c5db..936838003 100644 --- a/.github/workflows/example-yarn-modern.yml +++ b/.github/workflows/example-yarn-modern.yml @@ -9,7 +9,7 @@ on: jobs: yarn-modern: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8094d6392..6235a9a4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ on: pull_request: jobs: build-and-test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 name: Build and test steps: - name: Checkout @@ -25,7 +25,7 @@ jobs: - run: npm test release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 name: release needs: [build-and-test] # only release from the master branch