4040 - name : Checkout code
4141 uses : actions/checkout@v4
4242
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-
5543 - name : Install PHP versions
5644 uses : shivammathur/setup-php@v2
5745 with :
6856 with :
6957 path : ${{ steps.composer-cache.outputs.dir }}
7058 key : ${{ runner.os }}-composer-laravel-10-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
71- restore-keys : |
72- ${{ runner.os }}-composer-laravel-10-${{ matrix.php }}-
7359
7460 - name : Cache PHP dependencies (vendor)
7561 uses : actions/cache@v4
@@ -123,6 +109,7 @@ jobs:
123109 runs-on : ubuntu-latest
124110
125111 strategy :
112+ fail-fast : false
126113 matrix :
127114 operating-system : [ ubuntu-latest ]
128115 php : [ '8.2', '8.3', '8.4' ]
@@ -139,18 +126,6 @@ jobs:
139126 - name : Checkout code
140127 uses : actions/checkout@v4
141128
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-
154129 - name : Install PHP versions
155130 uses : shivammathur/setup-php@v2
156131 with :
@@ -167,8 +142,6 @@ jobs:
167142 with :
168143 path : ${{ steps.composer-cache.outputs.dir }}
169144 key : ${{ runner.os }}-composer-laravel-11-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
170- restore-keys : |
171- ${{ runner.os }}-composer-laravel-11-${{ matrix.php }}-
172145
173146 - name : Cache PHP dependencies (vendor)
174147 uses : actions/cache@v4
0 commit comments