Skip to content

Commit 5892a51

Browse files
committed
Fix phpstan workflow
1 parent 01848b6 commit 5892a51

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/push.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,13 @@ jobs:
153153
needs: [setup, phpunit]
154154
steps:
155155
- uses: actions/checkout@master
156-
- name: Restore/cache vendor folder
157-
uses: actions/cache@v1
156+
- name: composer
157+
uses: docker://composer
158+
env:
159+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158160
with:
159-
path: vendor
160-
key: all-build-${{ hashFiles('**/composer.lock') }}
161-
restore-keys: |
162-
all-build-${{ hashFiles('**/composer.lock') }}
163-
all-build-
161+
args: install --no-interaction --prefer-dist --optimize-autoloader
162+
164163
- name: PHPStan
165164
uses: phpDocumentor/[email protected]
166165
env:

0 commit comments

Comments
 (0)