Bump gaurav-nelson/github-action-markdown-link-check from 499c1e7f3637c131334fa8e937c45144f79d72d2 to 5c5dfc0ac2e225883c0e5f03a85311ec2830d368 #1515
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
| on: [push, pull_request] | |
| name: CI | |
| jobs: | |
| CI: | |
| runs-on: ubuntu-latest | |
| env: | |
| PHP_INI_VALUES: assert.exception=1, zend.assertions=1, apc.enable_cli=1 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: | |
| - "8.1" | |
| - "8.2" | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install PHP with extensions | |
| uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # 2.33.0 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| tools: composer:v2, phpcs | |
| coverage: xdebug | |
| ini-values: ${{ env.PHP_INI_VALUES }} | |
| extensions: apcu | |
| - name: Install dependencies with composer | |
| run: composer update --no-ansi --no-interaction --no-progress | |
| - name: Run linter | |
| run: composer lint | |
| - name: Run validation on composer.json | |
| run: composer validate | |
| - name: Run normalizer on composer.json | |
| run: composer normalize --dry-run | |
| - name: Run tests | |
| run: composer test | |
| - name: Run REST resource tests | |
| run: composer test_rest_resources | |
| - name: Check dependencies are listed | |
| run: vendor/bin/composer-require-checker |