File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,35 @@ jobs:
21
21
22
22
name : PHP ${{ matrix.php-versions }} quality/tests on ${{ matrix.operating-system }}
23
23
env :
24
+ extensions : grpc
24
25
key : cache-v1
25
26
steps :
26
27
- name : Checkout
27
28
uses : actions/checkout@v3
28
29
30
+ - name : Setup GCP credentials
31
+ run : ./tests/Scripts/setup_gcp.sh
32
+
33
+ - name : Setup cache environment
34
+ id : extcache
35
+ uses : shivammathur/cache-extensions@v1
36
+ with :
37
+ php-version : ${{ matrix.php-versions }}
38
+ extensions : ${{ env.extensions }}
39
+ key : ${{ env.key }}
40
+
41
+ - name : Cache extensions
42
+ uses : actions/cache@v3
43
+ with :
44
+ path : ${{ steps.extcache.outputs.dir }}
45
+ key : ${{ steps.extcache.outputs.key }}
46
+ restore-keys : ${{ steps.extcache.outputs.key }}
47
+
29
48
- name : Setup PHP
30
49
uses : shivammathur/setup-php@v2
31
50
with :
32
51
php-version : ${{ matrix.php-versions }}
33
-
34
- - name : Setup GCP credentials
35
- run : ./tests/Scripts/setup_gcp.sh
52
+ extensions : ${{ env.extensions }}
36
53
37
54
- name : Validate composer.json and composer.lock
38
55
run : composer validate --strict
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " >=8.0" ,
20
+ "ext-grpc" : " *" ,
20
21
"phpfastcache/phpfastcache" : " ^9.2" ,
21
22
"google/cloud-firestore" : " ~1.39"
22
23
},
You can’t perform that action at this time.
0 commit comments