Skip to content

Commit

Permalink
[GH Action] add rector
Browse files Browse the repository at this point in the history
  • Loading branch information
Treggats committed Aug 12, 2024
1 parent 78f84d0 commit 24ba7e6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/quality-assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,25 @@ jobs:
- name: Run PHPStan
run: vendor/bin/phpstan --error-format=github

rector:
name: Run Rector
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none

- name: Install composer dependencies
uses: ramsey/composer-install@v3

- name: Run Rector
run: vendor/bin/rector process --no-ansi --dry-run --no-diffs --no-progress-bar

phpunit:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 24ba7e6

Please sign in to comment.