diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9843f596..bef21e6a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -242,65 +242,36 @@ jobs: # ###################################### # Plugin Check # ###################################### - # TEMPORARILY DISABLED — this job is a green no-op placeholder. The real - # plugin-check steps are commented out below (not deleted) so the job keeps - # its place in the pipeline and downstream `needs: [plugin-check]` stays - # satisfied; restore them in one edit once the upstream bug is fixed. - # - # `continue-on-error: true` was not enough: a failing-but-tolerated job still - # renders as a red ✗ in the GitHub UI. An early `exit 0` keeps it green while - # surfacing a warning annotation so the skip stays visible. - # - # TODO: re-enable the "Run plugin check" step (and delete the notice step) - # once WordPress/plugin-check-action#579 is fixed upstream. The action - # auto-generates a .wp-env.json that pulls plugin-check.zip via a URL; on - # Node 24.16 runners that download path trips a latent @wordpress/env bug, so - # `wp-env start` silently exits 0 and the check reports "Environment not - # initialized". Not caused by this repo. - # https://github.com/WordPress/plugin-check-action/issues/579 plugin-check: name: Plugin Check runs-on: ubuntu-22.04 needs: [build] steps: - - name: Plugin Check temporarily skipped - run: | - echo "::warning title=Plugin Check skipped::Temporarily disabled pending WordPress/plugin-check-action#579. See the TODO in .github/workflows/main.yml." - { - echo "### ⚠️ Plugin Check temporarily skipped" - echo "" - echo "This job is a green no-op placeholder while [plugin-check-action#579](https://github.com/WordPress/plugin-check-action/issues/579) is fixed upstream." - echo "Re-enable the real step in \`.github/workflows/main.yml\`." - } >> "$GITHUB_STEP_SUMMARY" - exit 0 - - # TODO: restore the steps below (and remove the notice step above) once - # WordPress/plugin-check-action#579 is fixed upstream. - # - uses: actions/checkout@v6 - # - # - name: Download artifact - # uses: actions/download-artifact@v8 - # with: - # name: ${{ vars.WP_ORG_PLUGIN_NAME }}.zip - # path: /tmp - # - # - name: Unzip plugin ZIP - # run: unzip ${{ vars.WP_ORG_PLUGIN_NAME }}.zip - # working-directory: /tmp - # - # - name: Login to GitHub Container Registry - # uses: docker/login-action@v4 - # with: - # registry: ghcr.io - # username: ${{ github.actor }} - # password: ${{ secrets.GITHUB_TOKEN }} - # - # - name: Run plugin check - # uses: wordpress/plugin-check-action@v1 - # with: - # build-dir: /tmp/${{ vars.WP_ORG_PLUGIN_NAME }} - # exclude-directories: 'vendor' + - uses: actions/checkout@v6 + + - name: Download artifact + uses: actions/download-artifact@v8 + with: + name: ${{ vars.WP_ORG_PLUGIN_NAME }}.zip + path: /tmp + + - name: Unzip plugin ZIP + run: unzip ${{ vars.WP_ORG_PLUGIN_NAME }}.zip + working-directory: /tmp + + - name: Login to GitHub Container Registry + uses: docker/login-action@v4 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Run plugin check + uses: wordpress/plugin-check-action@v1.1.7 + with: + build-dir: /tmp/${{ vars.WP_ORG_PLUGIN_NAME }} + exclude-directories: 'vendor' # ###################################### # PHPUnit Tests diff --git a/readme.txt b/readme.txt index 1fcef321..1c46bce8 100755 --- a/readme.txt +++ b/readme.txt @@ -4,6 +4,7 @@ Contributors: beyondwords, stuartmcalpine Donate link: https://beyondwords.io Tags: text-to-speech, tts, audio, AI, voice cloning Stable tag: 7.0.0-dev-2.0 +Requires at least: 5.9 Requires PHP: 8.0 Tested up to: 7.0 License: GPLv2 or later diff --git a/speechkit.php b/speechkit.php index f1d764d3..c297bd37 100755 --- a/speechkit.php +++ b/speechkit.php @@ -21,7 +21,7 @@ * Text Domain: speechkit * Domain Path: /languages * Requires PHP: 8.0 - * Requires at least: 5.8 + * Requires at least: 5.9 */ // phpcs:enable