Skip to content

Commit

Permalink
Actions: replace ubuntu-latest with supported runner
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleecodes committed Jan 19, 2025
1 parent b9d8271 commit 21a5f1d
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/community-issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Returns: Posts comment tagging assignee and helpful message
assigned-comment:
if: github.event.action == 'assigned'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Post assignee issue comment
id: assigned-comment
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
# Returns: Posts warning comment tagging assignee
stale-label-comment:
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stale' }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Post stale issue comment
id: stale-label-comment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/community-slackpost-repo-activity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
gather-gh-activity:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4 # https://github.com/actions/checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/community-stale-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# PRs: automated closing after 1 more week of inactivity
# Issues: requires manual closing by maintainers
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
create-pr-to-main:
name: Create release PR to main
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Create Pull Request
uses: actions/github-script@v7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
# wait for new deployment to complete before running tests
wait-for-vercel-deployment:
name: Wait for vercel deployment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
preview_url: ${{ steps.waitForVercelDeployment.outputs.url }}
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
cypress-run:
name: Cypress e2e tests
needs: wait-for-vercel-deployment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Get yarn cache directory path
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
cypress-run:
name: Cypress e2e tests
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lighthouse-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# assume the develop branch has also completed deploying
wait-for-vercel-deployment:
name: Wait for vercel deployment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Wait for Vercel preview deployment to be ready
uses: patrickedqvist/[email protected]
Expand All @@ -22,7 +22,7 @@ jobs:
check_interval: 5

lighthouse-desktop:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: wait-for-vercel-deployment
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
path: ${{ steps.lighthouseDesktop.outputs.resultsPath }}

lighthouse-mobile:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: wait-for-vercel-deployment
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/newrelic-release-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
newrelic:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: New Relic Release Tracking
steps:
# This step builds a var with the release tag value to use later
Expand Down

0 comments on commit 21a5f1d

Please sign in to comment.