ci(deps): bump anthropics/claude-code-action from 1.0.135 to 1.0.144 #452
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, pull_request] | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| php-cs-fixer: | |
| name: PHP-CS-Fixer | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Install dependencies | |
| uses: php-actions/composer@8a65f0d3c6a1d17ca4800491a40b5756a4c164f3 # v6 | |
| with: | |
| php_version: '8.1' | |
| - name: Run PHP-CS-Fixer | |
| run: vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes | |
| phpstan: | |
| name: PHPStan | |
| needs: php-cs-fixer | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Install dependencies | |
| uses: php-actions/composer@8a65f0d3c6a1d17ca4800491a40b5756a4c164f3 # v6 | |
| with: | |
| php_version: '8.1' | |
| - name: Run PHPStan | |
| uses: php-actions/phpstan@d8f8887acaac249b05ac11909c4cdbb018f52211 # v3 | |
| with: | |
| php_version: '8.1' | |
| tests: | |
| name: Tests | |
| needs: phpstan | |
| timeout-minutes: 10 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| - name: Composer Install | |
| run: composer install --no-interaction --no-cache | |
| - name: PHPUnit | |
| run: vendor/bin/phpunit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| php-version: ['8.1', '8.2', '8.3', '8.4', '8.5'] | |
| tests-without-bcmath: | |
| name: Tests (without BCMath extension) | |
| needs: phpstan | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: :bcmath # ubuntu only | |
| - name: Composer Install | |
| run: composer install --no-interaction --no-cache | |
| - name: PHPUnit (without BCMath extension) | |
| run: vendor/bin/phpunit --group without-bcmath | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.1', '8.2', '8.3', '8.4', '8.5'] | |
| docker-phpt-tests: | |
| name: Docker PHPT Tests | |
| needs: phpstan | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Checkout php-src repository | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| repository: php/php-src | |
| path: php-src | |
| - name: Build Docker test image | |
| run: docker build -f Dockerfile.test-without-bcmath --build-arg PHP_VERSION=${{ matrix.php-version }} -t bcmath-phpt-test:${{ matrix.php-version }} . | |
| - name: Run Docker-based PHPT tests | |
| run: | | |
| # scale_ini test skipped: bcmath.scale INI setting ignored without native extension | |
| # gh20006 test skipped: requires BcMath\Number OOP API (not supported by polyfill) | |
| docker run --rm -v $PWD:/app bcmath-phpt-test:${{ matrix.php-version }} --skip bcdivmod,bug54598,bug72093,bug75178,gh15968,gh16262,scale_ini,bcmul_check_overflow,bug78878,bcpow_error1,bcpow_error2,bcpow_error3,bcpowmod_error,bcpowmod_with_mod_1,bcpowmod_zero_modulus,bcround_all,bcround_away_from_zero,bcround_ceiling,bcround_early_return,bcround_floor,bcround_toward_zero,bcscale_variation003,bcdivmod_by_zero,gh20006 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ['8.1', '8.2', '8.3', '8.4', '8.5'] |