Skip to content

Commit

Permalink
chore: Run GHA on Ubuntu 24.04 (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 authored Dec 7, 2024
1 parent 2779419 commit 5f56860
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
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

0 comments on commit 5f56860

Please sign in to comment.