diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b957069f..22e38680 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,19 +33,24 @@ jobs: run: composer install --prefer-dist --no-progress - name: Install packages not specified for PHP 5.3 - run: if [[ ${{ steps.setup-php.outputs.php-version }} != '5.3' ]]; then composer require league/container:~2.4 nikic/fast-route phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility --dev; fi + if: ${{ steps.setup-php.outputs.php-version != '5.3' }} + run: composer require league/container:~2.4 nikic/fast-route phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility - name: Install packages for PHP 7.1 - run: if [[ ${{ steps.setup-php.outputs.php-version }} == '7.1' ]]; then composer require zendframework/zend-stratigility:~2.0 && composer update --dev; fi + if: ${{ steps.setup-php.outputs.php-version == '7.1' }} + run: composer require zendframework/zend-stratigility:~2.0 - name: Install packages for PHP 7.2 - run: if [[ ${{ steps.setup-php.outputs.php-version }} == '7.2' ]]; then composer require zendframework/zend-stratigility:~2.0 && composer update --dev; fi + if: ${{ steps.setup-php.outputs.php-version == '7.2' }} + run: composer require zendframework/zend-stratigility:~2.0 - name: Install packages for PHP 7.3 - run: if [[ ${{ steps.setup-php.outputs.php-version }} == '7.3' ]]; then composer require zendframework/zend-stratigility:~2.0 && composer update --dev; fi + if: ${{ steps.setup-php.outputs.php-version == '7.3' }} + run: composer require zendframework/zend-stratigility:~2.0 - name: Install packages for PHP 7.4 - run: if [[ ${{ steps.setup-php.outputs.php-version }} == '7.4' ]]; then composer require zendframework/zend-stratigility:~2.0 && composer update --dev; fi + if: ${{ steps.setup-php.outputs.php-version == '7.4' }} + run: composer require zendframework/zend-stratigility:~2.0 - name: Run test suite run: vendor/bin/phpunit \ No newline at end of file