Skip to content

Commit 98b4425

Browse files
authored
Merge pull request laravel#1314 from laravel/driesvints-patch-1
Update tests.yml
2 parents 5e36561 + f0bd801 commit 98b4425

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,18 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v1
2424

25-
- name: Cache dependencies
26-
uses: actions/cache@v1
27-
with:
28-
path: ~/.composer/cache/files
29-
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
30-
3125
- name: Setup PHP
3226
uses: shivammathur/setup-php@v1
3327
with:
3428
php-version: ${{ matrix.php }}
3529
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
30+
tools: composer:v2
3631
coverage: none
3732

3833
- name: Install dependencies
39-
run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction
34+
run: |
35+
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
36+
composer update --prefer-dist --no-interaction --no-progress
4037
4138
- name: Execute tests
4239
run: vendor/bin/phpunit --verbose

0 commit comments

Comments
 (0)