Update php.yml

This commit is contained in:
Barbara-Pitt 2020-12-27 03:49:45 -06:00 committed by GitHub
parent 43c333654d
commit 122d3e9f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,23 +20,11 @@ jobs:
env:
PHP_VERSION: ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
php-version: '5.6'
key: ${{ matrix.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ matrix.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"