diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e9edec1..7fac017 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -30,23 +30,23 @@ jobs: coverage: xdebug tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Validate composer.json and composer.lock - run: composer validate --strict + - name: Validate composer.json and composer.lock + run: composer validate --strict - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php-${{ matrix.php-versions }}- - ${{ runner.os }}-php- + - name: Cache Composer packages + id: composer-cache + uses: actions/cache@v2 + with: + path: vendor + key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-php-${{ matrix.php-versions }}- + ${{ runner.os }}-php- - - name: Install dependencies - run: composer install --prefer-dist --no-progress + - name: Install dependencies + run: composer install --prefer-dist --no-progress - - name: Run test suite - run: composer test + - name: Run test suite + run: composer test