Build: Remove composer.lock and use composer update in CI
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
if [[ "${{ matrix.php-versions }}" == "7.0" ]]; then
|
if [[ "${{ matrix.php-versions }}" == "7.0" ]]; then
|
||||||
composer require --dev phpunit/phpunit:"^6.5" --update-with-dependencies
|
composer require --dev phpunit/phpunit:"^6.5" --update-with-dependencies
|
||||||
fi
|
fi
|
||||||
composer install --prefer-dist --no-progress
|
composer update --prefer-dist --no-progress
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./vendor/bin/phpunit
|
run: ./vendor/bin/phpunit
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
tools: composer:v2, phpcs
|
tools: composer:v2, phpcs
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress
|
run: composer update --prefer-dist --no-progress
|
||||||
|
|
||||||
- name: Run PHPCS
|
- name: Run PHPCS
|
||||||
run: ./vendor/bin/phpcs --standard=WordPress --runtime-set installed_paths vendor/wp-coding-standards/wpcs ./includes ./admin ./wp-plugin-starter-template.php
|
run: ./vendor/bin/phpcs --standard=WordPress --runtime-set installed_paths vendor/wp-coding-standards/wpcs ./includes ./admin ./wp-plugin-starter-template.php
|
||||||
|
|||||||
2199
composer.lock
generated
2199
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user