From d924e8ca63040f1749a3e4799fd23f1b9a6f3fa3 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:44:41 +0200 Subject: [PATCH] ci: migrate github action workflows to ubuntu-24.04 (#892) --- .github/workflows/chrome-docker.yml | 2 +- .github/workflows/chrome.yml | 2 +- .github/workflows/parallel.yml | 6 +++--- .github/workflows/single.yml | 2 +- .github/workflows/using-action.yml | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/chrome-docker.yml b/.github/workflows/chrome-docker.yml index 33ad4b771..c784a70b1 100644 --- a/.github/workflows/chrome-docker.yml +++ b/.github/workflows/chrome-docker.yml @@ -5,7 +5,7 @@ on: [push, workflow_dispatch] jobs: # run Chrome inside a Docker container chrome: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 # https://github.com/cypress-io/cypress-docker-images container: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1 steps: diff --git a/.github/workflows/chrome.yml b/.github/workflows/chrome.yml index 0a69d23f0..c731ccc38 100644 --- a/.github/workflows/chrome.yml +++ b/.github/workflows/chrome.yml @@ -4,7 +4,7 @@ on: [push, workflow_dispatch] jobs: chrome: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml index 44a3389bf..09436e69e 100644 --- a/.github/workflows/parallel.yml +++ b/.github/workflows/parallel.yml @@ -11,7 +11,7 @@ on: [push, workflow_dispatch] jobs: install: name: Install npm and Cypress - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -76,7 +76,7 @@ jobs: # anchor definitions yet, thus we cannot put same steps into a template object yet test1: name: Cypress test 1 - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: install steps: - uses: actions/checkout@v4 @@ -135,7 +135,7 @@ jobs: test2: name: Cypress test 2 - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: install steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/single.yml b/.github/workflows/single.yml index f14449e4d..01c5662d9 100644 --- a/.github/workflows/single.yml +++ b/.github/workflows/single.yml @@ -7,7 +7,7 @@ on: [push, workflow_dispatch] jobs: test1: name: Cypress test - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/using-action.yml b/.github/workflows/using-action.yml index f3ffd3561..93766a9b6 100644 --- a/.github/workflows/using-action.yml +++ b/.github/workflows/using-action.yml @@ -6,7 +6,7 @@ on: [push, workflow_dispatch] jobs: single-run: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -19,7 +19,7 @@ jobs: parallel-runs: name: Parallel 4x - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: # when one test fails, DO NOT cancel the other # containers, because this will kill Cypress processes @@ -64,7 +64,7 @@ jobs: matrix: # run 2 copies of the current job in parallel # and they will load balance all specs - os: ['ubuntu-22.04', 'windows-latest', 'macos-latest'] + os: ['ubuntu-24.04', 'windows-latest', 'macos-latest'] containers: [1, 2] runs-on: ${{ matrix.os }} steps: