Skip to content

Commit 01848b6

Browse files
committed
Use composer image to install dependencies
1 parent cd72d39 commit 01848b6

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,12 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@master
4848

49-
- name: Restore/cache vendor folder
50-
uses: actions/cache@v1
51-
with:
52-
path: vendor
53-
key: all-build-${{ hashFiles('**/composer.lock') }}
54-
restore-keys: |
55-
all-build-${{ hashFiles('**/composer.lock') }}
56-
all-build-
57-
58-
- name: Restore/cache tools folder
59-
uses: actions/cache@v1
49+
- name: composer
50+
uses: docker://composer
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6053
with:
61-
path: tools
62-
key: all-tools-${{ github.sha }}
63-
restore-keys: |
64-
all-tools-${{ github.sha }}-
65-
all-tools-
54+
args: install --no-interaction --prefer-dist --optimize-autoloader
6655

6756
- name: PHPUnit
6857
uses: docker://phpdoc/phpunit-ga:latest

0 commit comments

Comments
 (0)