Use Composer 2

This commit is contained in:
Alex P 2022-11-09 16:00:42 +02:00
parent 17d3cc152e
commit cfd080e531
4 changed files with 7 additions and 3 deletions

View file

@ -28,7 +28,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
tools: composer:v1
- name: Fix plugin version input # Add the version number if only suffix entered
run: echo "PACKAGE_VERSION=$(sed -nE '/Version:/s/.* ([0-9.]+).*/\1/p' woocommerce-paypal-payments.php)-$PACKAGE_VERSION" >> $GITHUB_ENV

View file

@ -17,7 +17,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v1
- name: Validate composer.json and composer.lock
run: composer validate