Skip to content

Commit 6ff7f3e

Browse files
committed
Updated tests.yml
1 parent e97384d commit 6ff7f3e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,23 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
16-
stability: [prefer-stable]
1716

1817
name: PHP ${{ matrix.php }}
1918

2019
steps:
2120
- name: Checkout code
2221
uses: actions/checkout@v2
2322

24-
- name: Cache dependencies
25-
uses: actions/cache@v1
26-
with:
27-
path: ~/.composer/cache/files
28-
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
29-
3023
- name: Setup PHP
3124
uses: shivammathur/setup-php@v2
3225
with:
3326
php-version: ${{ matrix.php }}
3427
extensions: bcmath, json, mbstring, intl
28+
tools: composer:v2
3529
coverage: none
3630

37-
- name: Update composer
38-
run: composer self-update
39-
4031
- name: Install dependencies
41-
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
32+
run: composer update --no-interaction --no-progress
4233

4334
- name: Execute tests
4435
run: vendor/bin/phpunit --verbose

0 commit comments

Comments
 (0)