Skip to content

Commit e3af51b

Browse files
#2 Update github workflows with PHP 8.1 to 8.4 for Symfony ^6.4 and PHP 8.2 to 8.4 for Symfony ^7.3
1 parent d9f8fab commit e3af51b

File tree

2 files changed

+40
-7
lines changed

2 files changed

+40
-7
lines changed

.github/workflows/quality.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install PHP with extensions
2020
uses: shivammathur/setup-php@v2
2121
with:
22-
php-version: '8.2'
22+
php-version: '8.4'
2323
coverage: none
2424
tools: composer:v2
2525
- name: Install Composer dependencies (locked)
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install PHP with extensions
3737
uses: shivammathur/setup-php@v2
3838
with:
39-
php-version: '8.2'
39+
php-version: '8.4'
4040
coverage: none
4141
tools: composer:v2
4242
- name: Install Composer dependencies (locked)
@@ -53,10 +53,27 @@ jobs:
5353
- name: Install PHP with extensions
5454
uses: shivammathur/setup-php@v2
5555
with:
56-
php-version: '8.2'
56+
php-version: '8.4'
5757
coverage: none
5858
tools: composer:v2
5959
- name: Install Composer dependencies (locked)
6060
uses: ramsey/composer-install@v3
6161
- name: Rector
6262
run: vendor/bin/rector --no-progress-bar --dry-run
63+
64+
twig-cs-fixer:
65+
name: Twig-CS-Fixer
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: Checkout code
69+
uses: actions/checkout@v4
70+
- name: Install PHP with extensions
71+
uses: shivammathur/setup-php@v2
72+
with:
73+
php-version: '8.4'
74+
coverage: none
75+
tools: composer:v2
76+
- name: Install Composer dependencies (locked)
77+
uses: ramsey/composer-install@v3
78+
- name: Twig-CS-Fixer
79+
run: vendor/bin/twig-cs-fixer lint --report=github

.github/workflows/test.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,17 @@ jobs:
2222
php-version:
2323
- '8.2'
2424
- '8.3'
25+
- '8.4'
2526
dependencies: [highest]
2627
allowed-to-fail: [false]
2728
symfony-require: ['']
2829
variant: [normal]
2930
include:
31+
- php-version: '8.1'
32+
dependencies: highest
33+
allowed-to-fail: false
34+
symfony-require: 6.4.*
35+
variant: symfony/symfony:"6.4.*"
3036
- php-version: '8.2'
3137
dependencies: highest
3238
allowed-to-fail: false
@@ -35,8 +41,8 @@ jobs:
3541
- php-version: '8.2'
3642
dependencies: highest
3743
allowed-to-fail: false
38-
symfony-require: 7.1.*
39-
variant: symfony/symfony:"7.1.*"
44+
symfony-require: 7.3.*
45+
variant: symfony/symfony:"7.3.*"
4046
- php-version: '8.3'
4147
dependencies: highest
4248
allowed-to-fail: false
@@ -45,8 +51,18 @@ jobs:
4551
- php-version: '8.3'
4652
dependencies: highest
4753
allowed-to-fail: false
48-
symfony-require: 7.1.*
49-
variant: symfony/symfony:"7.1.*"
54+
symfony-require: 7.3.*
55+
variant: symfony/symfony:"7.3.*"
56+
- php-version: '8.4'
57+
dependencies: highest
58+
allowed-to-fail: false
59+
symfony-require: 6.4.*
60+
variant: symfony/symfony:"6.4.*"
61+
- php-version: '8.4'
62+
dependencies: highest
63+
allowed-to-fail: false
64+
symfony-require: 7.3.*
65+
variant: symfony/symfony:"7.3.*"
5066

5167
steps:
5268
- name: Checkout

0 commit comments

Comments
 (0)