mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-19 08:00:04 +00:00
:octocat:
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user