40
40
- name : Checkout code
41
41
uses : actions/checkout@v4
42
42
43
- - name : Setup Node.js
44
- uses : actions/setup-node@v4
45
- with :
46
- node-version : ' 20.x'
47
-
48
- - name : Cache node_modules directory
49
- uses : actions/cache@v4
50
- id : node_modules-cache
51
- with :
52
- path : node_modules
53
- key : ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
54
-
55
43
- name : Install PHP versions
56
44
uses : shivammathur/setup-php@v2
57
45
with :
68
56
with :
69
57
path : ${{ steps.composer-cache.outputs.dir }}
70
58
key : ${{ runner.os }}-composer-laravel-10-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
71
- restore-keys : |
72
- ${{ runner.os }}-composer-laravel-10-${{ matrix.php }}-
73
59
74
60
- name : Cache PHP dependencies (vendor)
75
61
uses : actions/cache@v4
@@ -123,6 +109,7 @@ jobs:
123
109
runs-on : ubuntu-latest
124
110
125
111
strategy :
112
+ fail-fast : false
126
113
matrix :
127
114
operating-system : [ ubuntu-latest ]
128
115
php : [ '8.2', '8.3', '8.4' ]
@@ -139,18 +126,6 @@ jobs:
139
126
- name : Checkout code
140
127
uses : actions/checkout@v4
141
128
142
- - name : Setup Node.js
143
- uses : actions/setup-node@v4
144
- with :
145
- node-version : ' 20.x'
146
-
147
- - name : Cache node_modules directory
148
- uses : actions/cache@v4
149
- id : node_modules-cache
150
- with :
151
- path : node_modules
152
- key : ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
153
-
154
129
- name : Install PHP versions
155
130
uses : shivammathur/setup-php@v2
156
131
with :
@@ -167,8 +142,6 @@ jobs:
167
142
with :
168
143
path : ${{ steps.composer-cache.outputs.dir }}
169
144
key : ${{ runner.os }}-composer-laravel-11-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
170
- restore-keys : |
171
- ${{ runner.os }}-composer-laravel-11-${{ matrix.php }}-
172
145
173
146
- name : Cache PHP dependencies (vendor)
174
147
uses : actions/cache@v4
0 commit comments