[TASK] match PHP version for CI

This commit is contained in:
Florian Weiss 2023-07-06 13:53:06 +02:00
parent ffd07689c6
commit 6a74da49a3
2 changed files with 7 additions and 6 deletions

View file

@ -9,7 +9,7 @@ jobs:
- name: Install PHP - name: Install PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: 7.4 php-version: 8.2
- name: Validate composer.json - name: Validate composer.json
run: composer validate run: composer validate
@ -19,9 +19,10 @@ jobs:
strategy: strategy:
matrix: matrix:
php-version: php-version:
- 7.2
- 7.3
- 7.4 - 7.4
- 8.0
- 8.1
- 8.2
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -42,7 +43,7 @@ jobs:
- name: Install PHP - name: Install PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: 7.4 php-version: 8.2
- name: Get Composer Cache Directory - name: Get Composer Cache Directory
id: composer-cache id: composer-cache
@ -70,7 +71,7 @@ jobs:
- name: Install PHP - name: Install PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: 7.4 php-version: 8.2
- name: Get Composer Cache Directory - name: Get Composer Cache Directory
id: composer-cache id: composer-cache