Skip to content

Commit 505e672

Browse files
committed
Test
1 parent ea12a9c commit 505e672

File tree

2 files changed

+3
-28
lines changed

2 files changed

+3
-28
lines changed

‎.github/workflows/ci.yml

+1-26
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,8 @@ jobs:
4747
with:
4848
php-version: ${{ matrix.php-version }}
4949

50-
- name: Get Composer cache directory
51-
id: composer-cache
52-
run: echo "::set-output name=dir::$(composer config cache-dir)"
53-
54-
- name: Cache dependencies
55-
uses: actions/cache@v4
56-
with:
57-
path: ${{ steps.composer-cache.outputs.dir }}
58-
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
59-
restore-keys: |
60-
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
61-
composer-${{ runner.os }}-${{ matrix.php-version }}-
62-
composer-${{ runner.os }}-
63-
composer-
64-
65-
- name: Install dependencies
66-
uses: nick-invision/retry@v2
67-
with:
68-
timeout_minutes: 5
69-
max_attempts: 5
70-
retry_wait_seconds: 30
71-
command: |
72-
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
73-
composer info -D
74-
7550
- name: Run tests
76-
run: vendor/bin/phpunit ${{ matrix.phpunit-flags }} --debug
51+
run: composer update && vendor/bin/phpunit ${{ matrix.phpunit-flags }} --debug
7752

7853
- name: Run psalm
7954
run: vendor/bin/psalm.phar

‎composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
],
2727
"require": {
2828
"php": ">=8.1",
29-
"amphp/byte-stream": "^2.1.1",
29+
"amphp/byte-stream": "^2.1.2",
3030
"amphp/parser": "^1.1.1",
31-
"amphp/parallel": "^2.3"
31+
"amphp/parallel": "^2.3.1"
3232
},
3333
"require-dev": {
3434
"amphp/amp": "v3.x-dev",

0 commit comments

Comments
 (0)