File tree 2 files changed +3
-28
lines changed
2 files changed +3
-28
lines changed Original file line number Diff line number Diff line change 47
47
with :
48
48
php-version : ${{ matrix.php-version }}
49
49
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
-
75
50
- name : Run tests
76
- run : vendor/bin/phpunit ${{ matrix.phpunit-flags }} --debug
51
+ run : composer update && vendor/bin/phpunit ${{ matrix.phpunit-flags }} --debug
77
52
78
53
- name : Run psalm
79
54
run : vendor/bin/psalm.phar
Original file line number Diff line number Diff line change 26
26
],
27
27
"require" : {
28
28
"php" : " >=8.1" ,
29
- "amphp/byte-stream" : " ^2.1.1 " ,
29
+ "amphp/byte-stream" : " ^2.1.2 " ,
30
30
"amphp/parser" : " ^1.1.1" ,
31
- "amphp/parallel" : " ^2.3"
31
+ "amphp/parallel" : " ^2.3.1 "
32
32
},
33
33
"require-dev" : {
34
34
"amphp/amp" : " v3.x-dev" ,
You can’t perform that action at this time.
0 commit comments