Make WordPress Core


Ignore:
Timestamp:
09/16/2025 12:24:22 AM (8 months ago)
Author:
desrosj
Message:

Build/Test Tools: Improve certificate-related build scripts.

Because an exact version is pinned for composer/ca-bundle, the composer update command cannot update the dependency to the latest version. The command also does not work for a single dependency due to the fact that Composer has been configured not to generate a composer.lock file.

This updates the Grunt task to determine the new version using composer outdated before running composer require composer/ca-bundle:NEW_VERSION --dev to properly update the pinned version.

This also updates the build process test workflow to confirm that the certificate-related files under version control in src/wp-includes/certificates are up to date.

Props johnbillion.
Fixes #63939.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-build-processes.yml

    r60626 r60765  
    6060        os: [ 'ubuntu-24.04' ]
    6161        directory: [ 'src', 'build' ]
     62        test-certificates: [ true ]
    6263        include:
    6364          # Only prepare artifacts for Playground once.
     
    6970      os: ${{ matrix.os }}
    7071      directory: ${{ matrix.directory }}
     72      test-certificates: ${{ matrix.test-certificates && true || false }}
    7173      save-build: ${{ matrix.save-build && matrix.save-build || false }}
    7274      prepare-playground: ${{ matrix.prepare-playground && matrix.prepare-playground || false }}
Note: See TracChangeset for help on using the changeset viewer.