1919 strategy :
2020 fail-fast : false
2121 matrix :
22- php-version : ['8.1 ', '8.2 ', '8.3 ', '8.4 ']
22+ php-version : ['8.2 ', '8.3 ', '8.4 ', '8.5 ']
2323
2424 uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.6
2525 with :
4545 fail-fast : false
4646 matrix :
4747 operating-system : [ubuntu-latest]
48- php-versions : ['8.1 ', '8.2 ', '8.3 ', '8.4 ']
48+ php-versions : ['8.2 ', '8.3 ', '8.4 ', '8.5 ']
4949
5050 steps :
5151 - name : Setup PHP, with composer and extensions
@@ -85,15 +85,15 @@ jobs:
8585 run : composer install --no-progress --prefer-dist --optimize-autoloader
8686
8787 - name : Run unit tests with coverage
88- if : ${{ matrix.php-versions == '8.4 ' }}
88+ if : ${{ matrix.php-versions == '8.5 ' }}
8989 run : vendor/bin/phpunit
9090
9191 - name : Run unit tests (no coverage)
92- if : ${{ matrix.php-versions != '8.4 ' }}
92+ if : ${{ matrix.php-versions != '8.5 ' }}
9393 run : vendor/bin/phpunit --no-coverage
9494
9595 - name : Save coverage data
96- if : ${{ matrix.php-versions == '8.4 ' }}
96+ if : ${{ matrix.php-versions == '8.5 ' }}
9797 uses : actions/upload-artifact@v5
9898 with :
9999 name : coverage-data
@@ -107,7 +107,7 @@ jobs:
107107 fail-fast : true
108108 matrix :
109109 operating-system : [windows-latest]
110- php-versions : ['8.1 ', '8.2 ', '8.3 ', '8.4 ']
110+ php-versions : ['8.2 ', '8.3 ', '8.4 ', '8.5 ']
111111
112112 steps :
113113 - name : Setup PHP, with composer and extensions
@@ -151,6 +151,7 @@ jobs:
151151
152152 quality :
153153 name : Quality control
154+ needs : [unit-tests-linux]
154155 runs-on : [ubuntu-latest]
155156
156157 steps :
@@ -160,7 +161,7 @@ jobs:
160161 uses : shivammathur/setup-php@v2
161162 with :
162163 # Should be the higest supported version, so we can use the newest tools
163- php-version : ' 8.4 '
164+ php-version : ' 8.5 '
164165 tools : composer, composer-require-checker, composer-unused, phpcs
165166 extensions : ctype, date, dom, filter, pcre, soap, spl, xml
166167 coverage : none
@@ -193,7 +194,7 @@ jobs:
193194 run : composer-unused
194195
195196 - name : PHP Code Sniffer
196- run : phpcs
197+ run : vendor/bin/ phpcs
197198
198199 - name : PHPStan
199200 run : |
@@ -205,14 +206,16 @@ jobs:
205206
206207 security :
207208 name : Security checks
209+ needs : [unit-tests-linux]
208210 runs-on : [ubuntu-latest]
211+
209212 steps :
210213 - name : Setup PHP, with composer and extensions
211214 # https://github.com/shivammathur/setup-php
212215 uses : shivammathur/setup-php@v2
213216 with :
214217 # Should be the lowest supported version
215- php-version : ' 8.1 '
218+ php-version : ' 8.2 '
216219 extensions : ctype, date, dom, filter, pcre, soap, spl, xml
217220 tools : composer
218221 coverage : none
0 commit comments