Route REST URL imports through the canonical import-url ability contract #1397
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
| name: Test | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: test-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| homeboy-lint: | |
| name: Homeboy Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: Extra-Chill/homeboy-action@31e95050206332c4ebd36894387c980c99443ecf # v2.8.15 | |
| with: | |
| # Pin homeboy core to 0.330.0: core 0.331.0+ (PR #11553) validates | |
| # the `test.failures` sidecar as a JSON array, but the wordpress | |
| # extension's wp-codebox adapter still emits an object sidecar. | |
| # Remove this pin once the extension ships an array sidecar. | |
| version: 0.330.0 | |
| commands: review lint | |
| args: --extension wordpress | |
| php-version: '8.2' | |
| node-version: '24' | |
| autofix: 'false' | |
| homeboy-test: | |
| name: Homeboy Test (PHP ${{ matrix.php-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.1', '8.2', '8.3', '8.4'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: Extra-Chill/homeboy-action@31e95050206332c4ebd36894387c980c99443ecf # v2.8.15 | |
| with: | |
| # Pin homeboy core to 0.330.0: see lint step for the rationale. | |
| version: 0.330.0 | |
| commands: review test | |
| args: --extension wordpress | |
| php-version: ${{ matrix.php-version }} | |
| node-version: '24' | |
| autofix: 'false' |