mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Use composer image to install dependencies
This commit is contained in:
@@ -46,23 +46,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Restore/cache vendor folder
|
- name: composer
|
||||||
uses: actions/cache@v1
|
uses: docker://composer
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
path: vendor
|
args: install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
key: all-build-${{ hashFiles('**/composer.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
all-build-${{ hashFiles('**/composer.lock') }}
|
|
||||||
all-build-
|
|
||||||
|
|
||||||
- name: Restore/cache tools folder
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: tools
|
|
||||||
key: all-tools-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
all-tools-${{ github.sha }}-
|
|
||||||
all-tools-
|
|
||||||
|
|
||||||
- name: PHPUnit
|
- name: PHPUnit
|
||||||
uses: docker://phpdoc/phpunit-ga:latest
|
uses: docker://phpdoc/phpunit-ga:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user