Skip to content

Commit 1a97330

Browse files
authored
Merge pull request #70 from PHPCSStandards/feature/ghactions-minor-tweaks
GH Actions/CSQA: move the composer validate check up
2 parents 697fe90 + ad4d5cf commit 1a97330

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
coverage: none
3434
tools: cs2pr
3535

36+
# Validate the composer.json file.
37+
# @link https://getcomposer.org/doc/03-cli.md#validate
38+
- name: Validate Composer installation
39+
run: composer validate --no-check-all --strict
40+
3641
- name: 'Composer: adjust dependencies'
3742
run: |
3843
# The sniff stage doesn't run the unit tests, so no need for PHPUnit.
@@ -70,8 +75,3 @@ jobs:
7075

7176
- name: Show PHPCS results in PR
7277
run: cs2pr ./phpcs-report.xml
73-
74-
# Validate the composer.json file.
75-
# @link https://getcomposer.org/doc/03-cli.md#validate
76-
- name: Validate Composer installation
77-
run: composer validate --no-check-all --strict

0 commit comments

Comments
 (0)