forked from leftypol/leftypol
Update php.yml
This commit is contained in:
parent
7e4da93330
commit
d54be24b37
1 changed files with 0 additions and 12 deletions
12
.github/workflows/php.yml
vendored
12
.github/workflows/php.yml
vendored
|
@ -20,23 +20,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PHP_VERSION: ${{ matrix.php }}
|
PHP_VERSION: ${{ matrix.php }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Validate composer.json and composer.lock
|
- name: Validate composer.json and composer.lock
|
||||||
run: composer validate
|
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
|
- name: Install dependencies
|
||||||
if: steps.composer-cache.outputs.cache-hit != 'true'
|
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest
|
run: composer install --prefer-dist --no-progress --no-suggest
|
||||||
|
|
||||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue