Skip to content

Commit

Permalink
ci: migrate github action workflows to ubuntu-24.04 (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Oct 3, 2024
1 parent b9b42b8 commit d924e8c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chrome-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/using-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d924e8c

Please sign in to comment.