@@ -25,17 +25,10 @@ jobs:
2525 strategy :
2626 fail-fast : false
2727 matrix :
28- php : ['8.3', '8.4', '8.5']
29- kubernetes : ['1.33.10', '1.34.6', '1.35.3']
30- laravel : ['12.*', '13.*']
31- prefer : [prefer-lowest, prefer-stable]
32- include :
33- - laravel : " 12.*"
34- testbench : " 10.*"
35- - laravel : " 13.*"
36- testbench : " 11.*"
37-
38- name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - K8s v${{ matrix.kubernetes }} --${{ matrix.prefer }}
28+ php : ['8.3']
29+ kubernetes : ['1.33.10']
30+
31+ name : PHP ${{ matrix.php }} - K8s v${{ matrix.kubernetes }}
3932
4033 steps :
4134 - uses : actions/checkout@v6
@@ -47,27 +40,11 @@ jobs:
4740 extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, yaml
4841 coverage : pcov
4942
50- - name : Get composer cache directory
51- id : composer-cache
52- run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
53-
54- - name : Prepare cache key
55- id : prep
56- run : |
57- PHP_VERSION=${{ matrix.php }}
58- LARAVEL_VERSION=${{ matrix.laravel }}
59- PREFER_VERSION=${{ matrix.prefer }}
60-
61- # Remove any .* from the versions
62- LARAVEL_VERSION=${LARAVEL_VERSION//.*}
63-
64- echo "cache-key=composer-php-$PHP_VERSION-$LARAVEL_VERSION-$PREFER_VERSION-${{ hashFiles('composer.json') }}" >> $GITHUB_OUTPUT
65-
6643 - uses : actions/cache@v5
6744 name : Cache dependencies
6845 with :
69- path : ${{ steps .composer- cache.outputs.dir }}
70- key : ${{ steps.prep.outputs.cache-key }}
46+ path : ~/ .composer/ cache/files
47+ key : composer-php- ${{ matrix.php }}-${{ hashFiles('composer.json') }}
7148
7249 - uses : medyagh/setup-minikube@latest
7350 name : Setup Minikube
9673 kubectl proxy --port=8080 --reject-paths="^/non-existent-path" &
9774
9875 - name : Install dependencies
99- run : |
100- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
101- composer update --${{ matrix.prefer }} --prefer-dist --no-interaction
76+ run : composer update --prefer-stable --prefer-dist --no-interaction
10277
10378 - name : Setup in-cluster config
10479 run : |
0 commit comments