Skip to content

Commit

Permalink
Run rector and code style check on min php version only
Browse files Browse the repository at this point in the history
  • Loading branch information
funivan committed Jan 11, 2024
1 parent 8322880 commit faed1dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
pull_request:
branches:
- master

env:
PHP_MIN: 8.1
jobs:
run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -45,7 +46,9 @@ jobs:
run: ./vendor/bin/phpunit

- name: Run rector
if: ${{ matrix.php-version }} == ${{ env.PHP_MIN }}
run: ./vendor/bin/rector --dry-run

- name: Run code style check
if: ${{ matrix.php-version }} == ${{ env.PHP_MIN }}
run: ./vendor/bin/ecs

0 comments on commit faed1dc

Please sign in to comment.