Use composer image to install dependencies

This commit is contained in:
Jaapio
2020-06-18 22:50:07 +02:00
parent cd72d394ca
commit 01848b641d
+5 -16
View File
@@ -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