Skip to content

Commit 4280703

Browse files
chore: split coding standards on CI:
composer validation and PHP-CS-Fixer will be run separately
1 parent eba3045 commit 4280703

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/ci-static-analysis.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,22 @@ env:
1313
SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit"
1414

1515
jobs:
16-
coding-standards:
17-
name: "Coding Standards"
16+
composer-validate:
17+
name: "Validate composer.json"
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
-
23+
name: Checkout code
24+
uses: "actions/checkout@v4"
25+
26+
-
27+
name: Validate composer.json
28+
run: "composer validate --strict --no-check-lock"
29+
30+
php-cs-fixer:
31+
name: "PHP-CS-Fixer"
1832

1933
runs-on: ubuntu-latest
2034

@@ -29,10 +43,6 @@ jobs:
2943
with:
3044
php-version: 8.2
3145

32-
-
33-
name: Validate composer.json
34-
run: "composer validate --strict --no-check-lock"
35-
3646
-
3747
name: Composer install
3848
uses: "ramsey/composer-install@v3"

0 commit comments

Comments
 (0)