Skip to content

Commit 32c3572

Browse files
committed
Merged branch '4.6'
2 parents 32acbfe + d2f1220 commit 32c3572

3 files changed

Lines changed: 39 additions & 40 deletions

File tree

.github/workflows/backend-ci.yaml

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

21-
- name: Setup PHP Action
22-
uses: shivammathur/setup-php@v2
23-
with:
24-
php-version: ${{ matrix.php }}
25-
coverage: none
26-
extensions: 'pdo_sqlite, gd'
27-
tools: cs2pr
28-
29-
- uses: ramsey/composer-install@v3
21+
- uses: ibexa/gh-workflows/actions/composer-install@main
3022
with:
31-
dependency-versions: highest
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 }}
3227

3328
- name: Run code style check
3429
run: composer run-script check-cs -- --format=checkstyle | cs2pr
3530

36-
rector:
37-
name: Run rector
38-
runs-on: "ubuntu-22.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-
6131
tests:
6232
name: Tests
6333
runs-on: "ubuntu-22.04"
@@ -70,7 +40,7 @@ jobs:
7040
- '8.3'
7141

7242
steps:
73-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
7444

7545
- name: Setup PHP Action
7646
uses: shivammathur/setup-php@v2
@@ -118,7 +88,7 @@ jobs:
11888
- '8.3'
11989

12090
steps:
121-
- uses: actions/checkout@v4
91+
- uses: actions/checkout@v5
12292

12393
- name: Setup PHP Action
12494
uses: shivammathur/setup-php@v2
@@ -169,7 +139,7 @@ jobs:
169139
- '8.3'
170140

171141
steps:
172-
- uses: actions/checkout@v4
142+
- uses: actions/checkout@v5
173143

174144
- name: Setup PHP Action
175145
uses: shivammathur/setup-php@v2

.github/workflows/frontend-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
timeout-minutes: 5
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: '18'

.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)