Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Run GHA on Ubuntu 24.04 #797

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/analyse-nextjs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
analyse-release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Check for relevant Next.js core changes
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:

ci-core:
name: CI (core)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
Expand All @@ -67,7 +67,7 @@ jobs:
# update the required checks in GitHub
# branch protection settings for `next`.
name: E2E (next@${{ matrix.next-version }}${{ matrix.base-path && ' basePath' || ''}})
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ci-core]
strategy:
fail-fast: false
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:

e2e-react:
name: E2E (react)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ci-core]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

e2e-react-router:
name: E2E (react-router)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ci-core]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:

e2e-remix:
name: E2E (remix)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [ci-core]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:

cd:
name: Deployment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- lint
- ci-core
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/milestone-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
update_milestones:
name: Update Milestones
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event.pull_request.merged == true

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
github.event.review.state == 'APPROVED' ||
contains(github.event.pull_request.author_association, 'MEMBER') ||
contains(github.event.pull_request.labels.*.name, 'deploy:preview')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
enable: ${{ steps.check-for-changes.outputs.enable }}
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
name: Deploy to pkg.pr.new
needs: check-changes
if: needs.check-changes.outputs.enable == 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-base-enforcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
prevent-pr-targetting-master:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Post comment to update base branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ship-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
ship-it:
name: Ship it
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
snapshot:
name: Deployment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Generate snapshot version
id: version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-against-nextjs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
test_against_nextjs_release:
name: CI (next@${{ inputs.version }}${{ matrix.base-path && ' basePath' || ''}}${{ matrix.react-compiler && ' ⚛️⚡️' || ''}})
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

invalidate-isr-cache:
name: Invalidate ISR cache
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: test_against_nextjs_release
if: ${{ always() }}
steps:
Expand Down