:octocat:

This commit is contained in:
codemasher
2020-11-14 22:51:41 +01:00
parent 611df8f149
commit 73aaa780fa
+3 -11
View File
@@ -52,9 +52,6 @@ jobs:
php-version:
- "7.4"
- "8.0"
dependencies:
- lowest
- highest
steps:
- name: "Configure git to avoid issues with line endings"
@@ -85,15 +82,10 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
restore-keys: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: php${{ matrix.php-version }}-composer-
- name: "Install lowest dependencies with composer"
if: matrix.dependencies == 'lowest'
run: composer update --no-ansi --no-interaction --no-progress --no-suggest --prefer-lowest
- name: "Install highest dependencies with composer"
if: matrix.dependencies == 'highest'
- name: "Install dependencies with composer"
run: composer update --no-ansi --no-interaction --no-progress --no-suggest
- name: "Run tests with phpunit"