44
44
id : node_modules-cache
45
45
with :
46
46
path : node_modules
47
- key : ${{ runner.OS }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
47
+ key : ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
48
48
49
49
- name : Install NPM packages
50
50
if : steps.node_modules-cache.outputs.cache-hit != 'true'
@@ -65,16 +65,16 @@ jobs:
65
65
id : actions-cache
66
66
with :
67
67
path : ${{ steps.composer-cache.outputs.dir }}
68
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
68
+ key : ${{ runner.os }}-composer-laravel-10-${{ matrix.php-version }}- ${{ hashFiles('**/composer.lock') }}
69
69
restore-keys : |
70
- ${{ runner.os }}-composer-
70
+ ${{ runner.os }}-composer-laravel-10-${{ matrix.php-version }}-
71
71
72
72
- name : Cache PHP dependencies (vendor)
73
73
uses : actions/cache@v4
74
74
id : vendor-cache
75
75
with :
76
76
path : vendor
77
- key : ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
77
+ key : ${{ runner.os }}-build-laravel-10-${{ matrix.php-version }} -${{ hashFiles('**/composer.lock') }}
78
78
79
79
- name : Install Laravel Dependencies
80
80
if : steps.vendor-cache.outputs.cache-hit != 'true'
@@ -123,7 +123,7 @@ jobs:
123
123
strategy :
124
124
matrix :
125
125
operating-system : [ ubuntu-latest ]
126
- php : [ '8.2', '8.3' ]
126
+ php : [ '8.2', '8.3', '8.4' ]
127
127
dependency-stability : [ 'prefer-stable' ]
128
128
129
129
laravel : [ '11.*' ]
@@ -147,7 +147,7 @@ jobs:
147
147
id : node_modules-cache
148
148
with :
149
149
path : node_modules
150
- key : ${{ runner.OS }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
150
+ key : ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
151
151
152
152
- name : Install NPM packages
153
153
if : steps.node_modules-cache.outputs.cache-hit != 'true'
@@ -168,16 +168,16 @@ jobs:
168
168
id : actions-cache
169
169
with :
170
170
path : ${{ steps.composer-cache.outputs.dir }}
171
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
171
+ key : ${{ runner.os }}-composer-laravel-11-${{ matrix.php-version }}- ${{ hashFiles('**/composer.lock') }}
172
172
restore-keys : |
173
- ${{ runner.os }}-composer-
173
+ ${{ runner.os }}-composer-laravel-11-${{ matrix.php-version }}-
174
174
175
175
- name : Cache PHP dependencies (vendor)
176
176
uses : actions/cache@v4
177
177
id : vendor-cache
178
178
with :
179
179
path : vendor
180
- key : ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
180
+ key : ${{ runner.os }}-build-laravel-11-${{ matrix.php-version }} -${{ hashFiles('**/composer.lock') }}
181
181
182
182
- name : Install Laravel Dependencies
183
183
if : steps.vendor-cache.outputs.cache-hit != 'true'
0 commit comments