Skip to content

Commit df27e65

Browse files
committed
Improve GitHub workflow configurations
Improvements to GitHub workflow configurations: - Fixes code style issues - Improves naming of files, workflows and jobs - Adds scheduled workflow for dependency validation - Allows the check for outdated Symfony recipes to fail
1 parent f8a30e3 commit df27e65

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/linting-dependencies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434

3535
- name: Install dependencies
3636
id: install
37-
run: composer install --ansi --no-interaction --no-progress
37+
run: composer install --no-interaction --no-progress
3838

3939
- name: Check if any Composer dependencies are compromised
4040
if: always() && steps.install.outcome == 'success'
41-
run: composer audit --ansi
41+
run: composer audit
4242

4343
# This check always shows a success state (due to `continue-on-error`),
4444
# even when there are outdated recipes. Please check the result when

.github/workflows/linting.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030

3131
- name: Install dependencies
3232
id: install
33-
run: composer install --ansi --no-interaction --no-progress
33+
run: composer install --no-interaction --no-progress
3434

3535
- name: Lint Composer configuration
3636
if: always() && steps.install.outcome == 'success'
37-
run: composer validate --ansi
37+
run: composer validate
3838
# todo enable strict mode, currently license is invalid
3939
# run: composer validate --strict
4040

@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Install dependencies
8686
id: install
87-
run: composer install --ansi --no-interaction --no-progress
87+
run: composer install --no-interaction --no-progress
8888

8989
- name: PHP-CS-Fixer
9090
run: vendor/bin/php-cs-fixer fix --diff --dry-run
@@ -116,7 +116,7 @@ jobs:
116116

117117
- name: Install dependencies
118118
id: install
119-
run: composer install --ansi --no-interaction --no-progress
119+
run: composer install --no-interaction --no-progress
120120

121121
- name: Run PHPStan
122122
if: always() && steps.install.outcome == 'success'

.github/workflows/tests-images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
restore-keys: ${{ runner.os }}-composer-
4848

4949
- name: Install Composer dependencies
50-
run: composer install --ansi --no-interaction --no-progress
50+
run: composer install --no-interaction --no-progress
5151

5252
- name: PHPUnit version
5353
run: bin/phpunit --version

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Install dependencies
4646
id: install
47-
run: composer install --ansi --no-interaction --no-progress
47+
run: composer install --no-interaction --no-progress
4848

4949
- name: Validate mapping
5050
run: bin/console doctrine:schema:validate --skip-sync --no-interaction -vvv
@@ -103,7 +103,7 @@ jobs:
103103
restore-keys: ${{ runner.os }}-composer-
104104

105105
- name: Install Composer dependencies
106-
run: composer install --ansi --no-interaction --no-progress
106+
run: composer install --no-interaction --no-progress
107107

108108
- name: Install Node.js
109109
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)