File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,18 @@ jobs:
27
27
run : vendor/bin/tester tests -s -C
28
28
29
29
versions :
30
- - name : newest
31
- arg : ' '
30
+ - name : highest
32
31
experimental : false
33
32
34
33
- name : lowest
35
- arg : ' --prefer-lowest'
36
34
experimental : true
37
35
38
36
name : ${{ matrix.actions.name }} at PHP ${{ matrix.php }} (${{ matrix.versions.name }})
39
37
runs-on : ubuntu-latest
40
38
41
39
steps :
42
40
- name : Checkout
43
- uses : actions/checkout@v2
44
-
41
+ uses : actions/checkout@v4
45
42
46
43
# see https://github.com/shivammathur/setup-php
47
44
- name : Setup PHP
@@ -51,22 +48,11 @@ jobs:
51
48
extensions : json
52
49
coverage : none
53
50
54
-
55
- # see https://github.com/actions/cache/blob/main/examples.md#php---composer
56
- - name : Get Composer Cache Directory
57
- id : composer-cache
58
- run : |
59
- echo "::set-output name=dir::$(composer config cache-files-dir)"
60
- - uses : actions/cache@v2
51
+ - name : Install Composer deps
52
+ uses : ramsey/composer-install@v3
61
53
with :
62
- path : |
63
- ${{ steps.composer-cache.outputs.dir }}
64
- **/composer.lock
65
- key : ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
66
-
67
-
68
- - name : Install Composer
69
- run : composer update --no-progress ${{ matrix.versions.arg }}
54
+ dependency-versions : " ${{ matrix.versions.name }}"
70
55
71
- - run : ${{ matrix.actions.run }}
56
+ - name : Run ${{ matrix.actions.name }}
57
+ run : ${{ matrix.actions.run }}
72
58
continue-on-error : ${{ matrix.versions.experimental }}
You can’t perform that action at this time.
0 commit comments