Skip to content

Commit 1870a58

Browse files
committed
Merged branch '4.6'
2 parents a800188 + fca1340 commit 1870a58

File tree

2 files changed

+37
-33
lines changed

2 files changed

+37
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
php:
1717
- '8.3'
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

2121
- name: Setup PHP Action
2222
uses: shivammathur/setup-php@v2
@@ -33,31 +33,6 @@ jobs:
3333
- name: Run code style check
3434
run: composer run-script check-cs -- --format=checkstyle | cs2pr
3535

36-
rector:
37-
name: Run rector
38-
runs-on: "ubuntu-24.04"
39-
strategy:
40-
matrix:
41-
php:
42-
- '8.3'
43-
steps:
44-
- uses: actions/checkout@v4
45-
46-
- name: Setup PHP Action
47-
uses: shivammathur/setup-php@v2
48-
with:
49-
php-version: ${{ matrix.php }}
50-
coverage: none
51-
extensions: 'pdo_sqlite, gd'
52-
tools: cs2pr
53-
54-
- uses: ramsey/composer-install@v3
55-
with:
56-
dependency-versions: highest
57-
58-
- name: Run rector
59-
run: vendor/bin/rector process --dry-run --ansi
60-
6136
tests:
6237
name: Unit tests & SQLite integration tests
6338
runs-on: "ubuntu-24.04"
@@ -70,7 +45,7 @@ jobs:
7045
- '8.3'
7146

7247
steps:
73-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v5
7449

7550
- name: Setup PHP Action
7651
uses: shivammathur/setup-php@v2
@@ -123,7 +98,7 @@ jobs:
12398
- '8.3'
12499

125100
steps:
126-
- uses: actions/checkout@v4
101+
- uses: actions/checkout@v5
127102

128103
- name: Setup PHP Action
129104
uses: shivammathur/setup-php@v2
@@ -176,7 +151,7 @@ jobs:
176151
- '8.3'
177152

178153
steps:
179-
- uses: actions/checkout@v2
154+
- uses: actions/checkout@v5
180155

181156
- name: Setup PHP Action
182157
uses: shivammathur/setup-php@v2
@@ -186,9 +161,9 @@ jobs:
186161
extensions: pdo_mysql, gd, redis
187162
tools: cs2pr
188163

189-
- uses: "ramsey/composer-install@v1"
164+
- uses: ramsey/composer-install@v3
190165
with:
191-
dependency-versions: "highest"
166+
dependency-versions: highest
192167

193168
- name: Setup problem matchers for PHPUnit
194169
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
@@ -228,7 +203,7 @@ jobs:
228203
- '8.3'
229204

230205
steps:
231-
- uses: actions/checkout@v4
206+
- uses: actions/checkout@v5
232207

233208
- name: Setup PHP Action
234209
uses: shivammathur/setup-php@v2
@@ -280,7 +255,7 @@ jobs:
280255
php:
281256
- '8.3'
282257
steps:
283-
- uses: actions/checkout@v4
258+
- uses: actions/checkout@v5
284259
with:
285260
fetch-depth: 0
286261

.github/workflows/rector.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Rector PHP
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '[0-9]+.[0-9]+'
8+
pull_request: ~
9+
10+
jobs:
11+
rector:
12+
name: Run rector
13+
runs-on: "ubuntu-22.04"
14+
strategy:
15+
matrix:
16+
php:
17+
- '8.3'
18+
steps:
19+
- uses: actions/checkout@v5
20+
21+
- uses: ibexa/gh-workflows/actions/composer-install@main
22+
with:
23+
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
24+
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
25+
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
26+
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}
27+
28+
- name: Run rector
29+
run: vendor/bin/rector process --dry-run --ansi

0 commit comments

Comments
 (0)