chore(deps): bump all outdated dependencies #180
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: '[Pull-Request] Open' | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: '${{ github.workflow }}-${{ github.ref_name }}' | |
| cancel-in-progress: true | |
| env: | |
| PHP_CS_FIXER_IGNORE_ENV: 1 | |
| COMPOSER_IGNORE_PLATFORM_REQS: 1 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| - name: Install Dependencies | |
| run: make vendors | |
| - name: Lint | |
| run: php vendor/bin/php-cs-fixer fix --dry-run --diff --format gitlab | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| setup: | |
| - php: '8.4' | |
| vendors: 'high-deps' | |
| - php: '8.4' | |
| vendors: 'low-deps' | |
| - php: '8.5' | |
| vendors: 'high-deps' | |
| - php: '8.5' | |
| vendors: 'low-deps' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.setup.php }} | |
| - name: Install Dependencies | |
| run: make ${{ matrix.setup.vendors }} | |
| - name: Test | |
| run: php vendor/bin/phpstan --memory-limit=512M analyse | |
| unit: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| setup: | |
| - php: '8.4' | |
| vendors: 'high-deps' | |
| - php: '8.4' | |
| vendors: 'low-deps' | |
| - php: '8.5' | |
| vendors: 'high-deps' | |
| - php: '8.5' | |
| vendors: 'low-deps' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.setup.php }} | |
| - name: Install Dependencies | |
| run: make ${{ matrix.setup.vendors }} | |
| - name: Test | |
| run: XDEBUG_MODE=coverage vendor/bin/phpunit -d memory_limit=256M --coverage-text | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: docs/site/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: docs/site | |
| - name: Test build website | |
| run: npm run build | |
| working-directory: docs/site |