Skip to content

Commit cda806b

Browse files
#278: Added Composer validation to build pipeline
1 parent a9a76e8 commit cda806b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ jobs:
4141
- uses: 'ramsey/composer-install@v3'
4242
- run: 'vendor/bin/rector process --dry-run --no-progress-bar --ansi'
4343

44+
composer:
45+
name: 'Validate composer.json'
46+
runs-on: 'ubuntu-24.04'
47+
steps:
48+
- uses: 'actions/checkout@v4'
49+
- uses: 'shivammathur/setup-php@v2'
50+
with:
51+
php-version: '8.2'
52+
- run: 'composer validate'
53+
4454
phpunit:
4555
name: 'Run PHPUnit'
4656
runs-on: 'ubuntu-24.04'

0 commit comments

Comments
 (0)