Run CI coding standards on PHP 8.5
Adds PHP 8.5 to the lint matrix and switches the coding standards job/cache key from PHP 8.1 to PHP 8.5.
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-version: ['7.4', '8.1']
|
||||
php-version: ['7.4', '8.1', '8.5']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: shivammathur/setup-php@v2
|
||||
@@ -26,11 +26,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
php-version: '8.5'
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: vendor
|
||||
key: php-8.1-${{ hashFiles('composer.lock') }}
|
||||
key: php-8.5-${{ hashFiles('composer.lock') }}
|
||||
- name: Install dependencies
|
||||
run: composer install --no-interaction --no-progress --prefer-dist
|
||||
- name: Run PHP-CS-Fixer
|
||||
|
||||
Reference in New Issue
Block a user