From ce8d00b7079f12c1d362d1ffe45ad87fadac075e Mon Sep 17 00:00:00 2001 From: Francois Best Date: Sat, 7 Dec 2024 21:33:19 +0100 Subject: [PATCH] chore: Run GHA on Ubuntu 24.04 --- .github/workflows/analyse-nextjs-release.yml | 2 +- .github/workflows/ci-cd.yml | 14 +++++++------- .github/workflows/milestone-automation.yml | 2 +- .github/workflows/pkg.pr.new.yml | 4 ++-- .github/workflows/pr-base-enforcement.yml | 2 +- .github/workflows/ship-it.yml | 2 +- .github/workflows/snapshot-release.yml | 2 +- .github/workflows/test-against-nextjs-release.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/analyse-nextjs-release.yml b/.github/workflows/analyse-nextjs-release.yml index 2a9c97446..74a81d36b 100644 --- a/.github/workflows/analyse-nextjs-release.yml +++ b/.github/workflows/analyse-nextjs-release.yml @@ -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 diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index de7374ea1..62dce2e51 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -224,7 +224,7 @@ jobs: cd: name: Deployment - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: - lint - ci-core diff --git a/.github/workflows/milestone-automation.yml b/.github/workflows/milestone-automation.yml index 5e50399fc..a8ce3c141 100644 --- a/.github/workflows/milestone-automation.yml +++ b/.github/workflows/milestone-automation.yml @@ -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: diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index b91c5fc94..fee5ca919 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -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: @@ -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 diff --git a/.github/workflows/pr-base-enforcement.yml b/.github/workflows/pr-base-enforcement.yml index cfdd26725..3ce4ff54b 100644 --- a/.github/workflows/pr-base-enforcement.yml +++ b/.github/workflows/pr-base-enforcement.yml @@ -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 diff --git a/.github/workflows/ship-it.yml b/.github/workflows/ship-it.yml index 51937743a..f68d7fdd8 100644 --- a/.github/workflows/ship-it.yml +++ b/.github/workflows/ship-it.yml @@ -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: diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 24dc553b3..3cf21f636 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -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 diff --git a/.github/workflows/test-against-nextjs-release.yml b/.github/workflows/test-against-nextjs-release.yml index ce48cb0d8..6c1fcef9e 100644 --- a/.github/workflows/test-against-nextjs-release.yml +++ b/.github/workflows/test-against-nextjs-release.yml @@ -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: @@ -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: