Run wp.org validator in CI #278
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
| name: PHP Compatibility Checks | |
| on: | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| php8-compatibility: | |
| name: PHP 8.x Compatibility | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: PHP Compatibility | |
| uses: pantheon-systems/phpcompatibility-action@dev | |
| with: | |
| test-versions: 8.0- | |
| paths: ${{ github.workspace }}/*.php ${{ github.workspace }}/app/*.php ${{ github.workspace }}/admin/templates/partials/*.php |