Use wp_schedule_single_event() for Run Now to fix Cavalcade compatibility #598
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow | |
| name: Coding Standards | |
| on: | |
| push: | |
| branches: | |
| - 'develop' | |
| - 'trunk' | |
| paths: | |
| - '.github/workflows/coding-standards.yml' | |
| - '**.php' | |
| - 'composer.json' | |
| - 'phpcs.xml.dist' | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths: | |
| - '.github/workflows/coding-standards.yml' | |
| - '**.php' | |
| - 'composer.json' | |
| - 'phpcs.xml.dist' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| test: | |
| name: ${{ matrix.label }} | |
| permissions: | |
| contents: read | |
| uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-coding-standards.yml@cc47e37177c694e00b901a5dc89fda5644bc550f # 2.9.1 | |
| strategy: | |
| matrix: | |
| label: | |
| - 'PHP' | |
| php: | |
| - '8.3' | |
| fail-fast: false | |
| with: | |
| php: ${{ matrix.php }} |