Skip to content

Commit 1517bd7

Browse files
Merge pull request #188 from darkwebdesign/issue-185-7.3
#185: Add Composer Require Checker to build pipeline
2 parents 3887af4 + d9b9070 commit 1517bd7

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848
- uses: 'ramsey/composer-install@v3'
4949
- run: 'vendor/bin/rector process --dry-run --no-progress-bar --ansi'
5050

51+
composer-require-checker:
52+
name: 'Run Composer Require Checker'
53+
runs-on: 'ubuntu-24.04'
54+
steps:
55+
- uses: 'actions/checkout@v4'
56+
- uses: 'shivammathur/setup-php@v2'
57+
with:
58+
php-version: '8.2'
59+
- uses: 'ramsey/composer-install@v3'
60+
- run: 'vendor/bin/composer-require-checker --ansi'
61+
5162
composer-validate:
5263
name: 'Run Composer Validate'
5364
runs-on: 'ubuntu-24.04'

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
},
2020
"require-dev": {
2121
"friendsofphp/php-cs-fixer": "^3.58",
22+
"maglnet/composer-require-checker": "^4.17",
2223
"phpstan/extension-installer": "^1.3",
2324
"phpstan/phpstan": "^1.11",
2425
"phpstan/phpstan-symfony": "^1.4",

0 commit comments

Comments
 (0)