Skip to content

Commit bee75aa

Browse files
committed
chore: run tests with only one PHP version
1 parent 83d69ff commit bee75aa

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/test-coding-standards.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,17 @@ permissions:
2121

2222
jobs:
2323
lint:
24-
name: PHP ${{ matrix.php-version }} Lint with PHP CS Fixer
24+
name: Lint with PHP CS Fixer
2525
runs-on: ubuntu-22.04
2626

27-
strategy:
28-
fail-fast: false
29-
matrix:
30-
php-version:
31-
- '8.0'
32-
- '8.1'
33-
3427
steps:
3528
- name: Checkout
3629
uses: actions/checkout@v4
3730

3831
- name: Setup PHP
3932
uses: shivammathur/setup-php@v2
4033
with:
41-
php-version: ${{ matrix.php-version }}
34+
php-version: '8.1'
4235
extensions: tokenizer
4336
coverage: none
4437

.github/workflows/test-rector.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ permissions:
4040

4141
jobs:
4242
build:
43-
name: PHP ${{ matrix.php-versions }} Analyze code (Rector) on ${{ matrix.paths }}
43+
name: Analyze code (Rector)
4444
runs-on: ubuntu-22.04
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
php-versions: ['8.0', '8.1']
4948
paths:
5049
- app
5150
- system
@@ -58,7 +57,7 @@ jobs:
5857
- name: Setup PHP
5958
uses: shivammathur/setup-php@v2
6059
with:
61-
php-version: ${{ matrix.php-versions }}
60+
php-version: '8.1'
6261
extensions: intl
6362

6463
- name: Use latest Composer

0 commit comments

Comments
 (0)