Skip to content

Commit 1b41e4c

Browse files
committed
ci: rector
1 parent 43c51dd commit 1b41e4c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,32 @@ jobs:
3232
npm install
3333
3434
- name: Run Pint
35-
run: vendor/bin/pint
35+
run: vendor/bin/pint --test
3636

3737
- name: Format Frontend
3838
run: npm run format
3939

4040
- name: Lint Frontend
4141
run: npm run lint
4242

43+
rector:
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v4
47+
48+
- name: Setup PHP
49+
uses: shivammathur/setup-php@v2
50+
with:
51+
php-version: '8.4'
52+
53+
- name: Install Dependencies
54+
run: |
55+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
56+
npm install
57+
58+
- name: Run Rector
59+
run: vendor/bin/rector --dry-run
60+
4361
test:
4462
runs-on: ubuntu-latest
4563

0 commit comments

Comments
 (0)