Skip to content

Commit 394a545

Browse files
alongoszadamwojs
authored andcommitted
[GHA] Configured Rector PHP for CI
1 parent 4c6db56 commit 394a545

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,7 @@ jobs:
3131

3232
rector:
3333
name: Run rector
34-
runs-on: "ubuntu-22.04"
35-
strategy:
36-
matrix:
37-
php:
38-
- '8.3'
39-
steps:
40-
- uses: actions/checkout@v4
41-
42-
- name: Setup PHP Action
43-
uses: shivammathur/setup-php@v2
44-
with:
45-
php-version: ${{ matrix.php }}
46-
coverage: none
47-
extensions: 'pdo_sqlite, gd'
48-
tools: cs2pr
49-
50-
- uses: ramsey/composer-install@v3
51-
with:
52-
dependency-versions: highest
53-
54-
- name: Run rector
55-
run: vendor/bin/rector process --dry-run --ansi
34+
uses: ibexa/gh-workflows/.github/workflows/rector.yml@main
5635

5736
tests:
5837
name: Unit & integration tests

0 commit comments

Comments
 (0)