build(deps): bump the composer-minor-and-patch group across 1 directory with 3 updates #3333
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: CI | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| env: | |
| PHP_VERSION: '8.3' | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ env.PHP_VERSION }} | |
| tools: composer | |
| - name: Cache Composer files | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.composer/cache/files | |
| key: ${{ runner.os }}-php-${{ env.PHP_VERSION }}-composer-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-php-${{ env.PHP_VERSION }}-composer- | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: Run static analysis | |
| run: composer static | |
| # - name: Run PHPCS | |
| # run: composer lint | |
| - name: Lint PHP files | |
| run: | | |
| find . -path ./vendor -prune -o -name '*.php' -print0 | xargs -0 -n1 php -l | |
| - name: Run tests | |
| run: composer test |