From f04726ec3db5d71dd323ecdfd21323cf5035c48d Mon Sep 17 00:00:00 2001 From: jrfnl Date: Wed, 11 Dec 2024 11:50:37 +0100 Subject: [PATCH] TESTING Ubuntu 24-04 --- .github/workflows/cs.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/quicktest.yml | 2 +- .github/workflows/test.yml | 6 +++--- .github/workflows/update-cacert.yml | 8 ++++---- .github/workflows/update-website.yml | 8 ++++---- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 8c0f9d6a7..987cbccf8 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -16,7 +16,7 @@ concurrency: jobs: phpcs: #---------------------------------------------------------------------- name: 'PHPCS' - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: - name: Checkout code diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c232e96c1..4c1a9cb9f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ concurrency: jobs: lint: #---------------------------------------------------------------------- - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: diff --git a/.github/workflows/quicktest.yml b/.github/workflows/quicktest.yml index 5628daf45..bb3e02a77 100644 --- a/.github/workflows/quicktest.yml +++ b/.github/workflows/quicktest.yml @@ -17,7 +17,7 @@ jobs: #### QUICK TEST STAGE #### # Runs the tests against select PHP versions for pushes to arbitrary branches. quicktest: - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' strategy: matrix: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e65cffbeb..13ed996e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,8 @@ name: Test on: push: - branches: - - stable +# branches: +# - stable pull_request: # Allow manually triggering the workflow. workflow_dispatch: @@ -17,7 +17,7 @@ concurrency: jobs: #### TEST STAGE #### test: - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' strategy: # Keys: diff --git a/.github/workflows/update-cacert.yml b/.github/workflows/update-cacert.yml index d7f1c85f0..3aefd5934 100644 --- a/.github/workflows/update-cacert.yml +++ b/.github/workflows/update-cacert.yml @@ -7,9 +7,9 @@ on: # Run on every push to `stable` and `develop`. # Not using path selection here as it appears only the files in the last commit from the push are looked at. push: - branches: - - 'stable' - - 'develop' +# branches: +# - 'stable' +# - 'develop' # And whenever this workflow is updated or a PR attempts to update the certificate files. pull_request: paths: @@ -31,7 +31,7 @@ jobs: # Don't run the cron job on forks. if: ${{ github.event_name != 'schedule' || github.repository == 'WordPress/Requests' }} - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: - name: Determine branches to use id: branches diff --git a/.github/workflows/update-website.yml b/.github/workflows/update-website.yml index ddb1a5a78..77479c554 100644 --- a/.github/workflows/update-website.yml +++ b/.github/workflows/update-website.yml @@ -3,8 +3,8 @@ name: Build website on: # Trigger the workflow whenever a new tag is created. push: - tags: - - '**' +# tags: +# - '**' # And whenever this workflow or one of the associated scripts is updated. pull_request: branches-ignore: @@ -31,7 +31,7 @@ jobs: # Don't run on forks. if: github.repository == 'WordPress/Requests' - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: # By default use the `stable` branch as the published docs should always # reflect the latest release. @@ -89,7 +89,7 @@ jobs: # Don't run on forks. if: github.repository == 'WordPress/Requests' - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: # PRs based on the "pull request" event trigger will contain changes from the # current `develop` branch, so should not be published as the website should