Bump tests/specifications from 4a46628 to ace53b1 (#1783)
#434
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: "Coding Standards" | |
| on: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| push: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| env: | |
| PHP_VERSION: "8.2" | |
| # TODO: change to "stable" once 2.0.0 is released | |
| # DRIVER_VERSION: "stable" | |
| DRIVER_VERSION: "mongodb/[email protected]" | |
| jobs: | |
| phpcs: | |
| name: "phpcs" | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v5" | |
| - name: "Setup" | |
| uses: "./.github/actions/setup" | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| driver-version: ${{ env.DRIVER_VERSION }} | |
| # The -q option is required until phpcs v4 is released | |
| - name: "Run PHP_CodeSniffer" | |
| run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr" | |
| rector: | |
| name: "Rector" | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v5" | |
| - name: "Setup" | |
| uses: "./.github/actions/setup" | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| driver-version: ${{ env.DRIVER_VERSION }} | |
| - name: "Run Rector" | |
| run: "vendor/bin/rector --ansi --dry-run" |