[CI] Validate composer.json file before install (#29)
This commit is contained in:
parent
af5690d4c3
commit
580ce38d26
1 changed files with 6 additions and 6 deletions
12
.github/workflows/pipeline.yml
vendored
12
.github/workflows/pipeline.yml
vendored
|
|
@ -22,14 +22,14 @@ jobs:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
coverage: "none"
|
coverage: "none"
|
||||||
|
|
||||||
|
- name: Composer Validation
|
||||||
|
run: composer validate --strict
|
||||||
|
|
||||||
- name: Install Composer
|
- name: Install Composer
|
||||||
uses: "ramsey/composer-install@v3"
|
uses: "ramsey/composer-install@v3"
|
||||||
with:
|
with:
|
||||||
dependency-versions: "${{ matrix.dependencies }}"
|
dependency-versions: "${{ matrix.dependencies }}"
|
||||||
|
|
||||||
- name: Composer Validation
|
|
||||||
run: composer validate --strict
|
|
||||||
|
|
||||||
- name: Install PHP Dependencies
|
- name: Install PHP Dependencies
|
||||||
run: composer install --no-scripts
|
run: composer install --no-scripts
|
||||||
|
|
||||||
|
|
@ -48,12 +48,12 @@ jobs:
|
||||||
php-version: '8.1'
|
php-version: '8.1'
|
||||||
coverage: "none"
|
coverage: "none"
|
||||||
|
|
||||||
- name: Install Composer
|
|
||||||
uses: "ramsey/composer-install@v3"
|
|
||||||
|
|
||||||
- name: Composer Validation
|
- name: Composer Validation
|
||||||
run: composer validate --strict
|
run: composer validate --strict
|
||||||
|
|
||||||
|
- name: Install Composer
|
||||||
|
uses: "ramsey/composer-install@v3"
|
||||||
|
|
||||||
- name: Install PHP Dependencies
|
- name: Install PHP Dependencies
|
||||||
run: composer install --no-scripts
|
run: composer install --no-scripts
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue