8000 we only need to run php-cs-fixer once · symfony/maker-bundle@18378c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18378c9

Browse files
committed
we only need to run php-cs-fixer once
1 parent 89272e2 commit 18378c9

File tree

2 files changed

+1
-59
lines changed

2 files changed

+1
-59
lines changed

.github/workflows/ci-linux.yaml

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

1515
jobs:
16-
coding-standards:
17-
name: "Coding Standards (${{ matrix.php-version }})"
18-
19-
runs-on: ubuntu-latest
20-
21-
strategy:
22-
fail-fast: false
23-
matrix:
24-
php-version:
25-
- '8.1'
26-
27-
steps:
28-
-
29-
name: Checkout code
30-
uses: "actions/checkout@v3"
31-
32-
-
33-
name: Install PHP
34-
uses: "shivammathur/setup-php@v2"
35-
with:
36-
coverage: "none"
37-
php-version: "${{ matrix.php-version }}"
38-
39-
-
40-
name: Validate composer.json
41-
run: "composer validate --strict --no-check-lock"
42-
43-
-
44-
name: Composer install
45-
uses: "ramsey/composer-install@v2"
46-
with:
47-
composer-options: "--no-scripts"
48-
49-
-
50-
name: Composer install php-cs-fixer
51-
uses: "ramsey/composer-install@v2"
52-
with:
53-
composer-options: "--no-scripts --working-dir=tools/php-cs-fixer"
54-
55-
-
56-
name: Run PHP-CS-Fixer
57-
run: "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
58-
5916
test:
6017
name: "PHP ${{ matrix.php-version }} + @${{ matrix.symfony-version }} ${{ matrix.dependency-versions }} deps"
6118

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ env:
1414

1515
jobs:
1616
coding-standards:
17-
name: "Coding Standards (${{ matrix.php-version }})"
17+
name: "Coding Standards"
1818

1919
runs-on: ubuntu-latest
2020

21-
strategy:
22-
fail-fast: false
23-
matrix:
24-
php-version:
25-
- '8.1'
26-
2721
steps:
2822
-
2923
name: Checkout code
@@ -32,9 +26,6 @@ jobs:
3226
-
3327
name: Install PHP
3428
uses: "shivammathur/setup-php@v2"
35-
with:
36-
coverage: "none"
37-
php-version: "${{ matrix.php-version }}"
3829

3930
-
4031
name: Validate composer.json
@@ -61,12 +52,6 @@ jobs:
6152

6253
runs-on: ubuntu-latest
6354

64-
strategy:
65-
fail-fast: false
66-
matrix:
67-
php-version:
68-
- '8.1'
69-
7055
steps:
7156
- name: Checkout
7257
uses: "actions/checkout@v4"

0 commit comments

Comments
 (0)
0