diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bf88e54..ae8c566 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,11 +8,11 @@ on: jobs: phpstan: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 name: PHPStan steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: PHPStan uses: docker://oskarstark/phpstan-ga env: @@ -20,17 +20,17 @@ jobs: with: args: analyse cs-fixer: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 name: PHP-CS-Fixer steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Fix CS uses: docker://oskarstark/php-cs-fixer-ga with: args: --diff --dry-run tests: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: fail-fast: false matrix: @@ -59,7 +59,7 @@ jobs: name: PHP ${{ matrix.php }} tests (${{ matrix.description }}) steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -69,7 +69,7 @@ jobs: run: composer config minimum-stability dev && composer config prefer-stable true if: contains(matrix.symfony, '@dev') - name: Install dependencies - uses: ramsey/composer-install@v3 + uses: ramsey/composer-install@v4 with: dependency-versions: ${{ matrix.dependencies }} env: diff --git a/composer.json b/composer.json index 73712c9..3b91df4 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "symfony/validator": "^6.4 || ^7.4 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^10.5 || ^11.5 || ^12.5", "symfony/http-client-contracts": "^3.5", "symfony/phpunit-bridge": "^7.4" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3609d1e..e7c0f4c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,21 +1,20 @@ - tests + tests - + src - +