From 1c6483669904bab85f2f764a2c7f5cc3b5dbf813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Machulda?= Date: Mon, 15 Jan 2024 11:42:46 +0100 Subject: [PATCH] Run builds on PHP up to 8.3 --- .github/workflows/php.yaml | 15 +++++++-------- .github/workflows/pr-check.yaml | 2 +- composer.json | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/php.yaml b/.github/workflows/php.yaml index 4bf1b56..c7476b0 100644 --- a/.github/workflows/php.yaml +++ b/.github/workflows/php.yaml @@ -13,16 +13,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['7.3', '7.4'] + php-version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] dependencies: [''] include: - { php-version: '7.3', dependencies: '--prefer-lowest' } - - { php-version: '8.0', dependencies: '--ignore-platform-req=php' } name: PHP ${{ matrix.php-version }} ${{ matrix.dependencies }} (unit tests) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: @@ -59,12 +58,12 @@ jobs: name: "Integration tests" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.3' extensions: mbstring, intl, zip coverage: xdebug tools: composer:v2 @@ -92,12 +91,12 @@ jobs: name: "Code style and static analysis" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.3' extensions: mbstring, intl - name: Cache Composer dependencies @@ -122,7 +121,7 @@ jobs: name: "Markdown link check" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-verbose-mode: 'yes' diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 726278d..cf7a54b 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -8,7 +8,7 @@ jobs: name: Block fixup commits steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Block fixup commit merge uses: 13rac1/block-fixup-merge-action@v2.0.0 diff --git a/composer.json b/composer.json index f15dac3..e2dfd7b 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", "phpunit/phpunit": "^9.6.15", - "symfony/var-dumper": "^3.3 || ^4.0 || ^5.0" + "symfony/var-dumper": "^4.0 || ^5.0" }, "minimum-stability": "stable", "autoload": {