99 - ' **.php'
1010 - ' .config/phpcs.xml.dist'
1111 - ' .config/phpunit.xml.dist'
12+ - ' .github/workflows/php.yml'
1213 - ' composer.json'
1314 - ' composer.lock'
1415 branches : [ main ]
1920 - ' **.php'
2021 - ' .config/phpcs.xml.dist'
2122 - ' .config/phpunit.xml.dist'
23+ - ' .github/workflows/php.yml'
2224 - ' composer.json'
2325 - ' composer.lock'
2426 # Allow manually triggering the workflow.
2527 workflow_dispatch :
26- # Run once the "JSON Quality Assistance" workflow has been completed.
27- workflow_run :
28- workflows : [ "JSON Quality Assistance" ]
29- types :
30- - completed
3128
3229
30+ # Cancels all previous workflow runs for the same branch that have not yet completed.
3331concurrency :
3432 group : ${{ github.workflow }}-${{ github.ref }}
3533 cancel-in-progress : true
6765 --strict
6866 # 02.test.php.test-unit.yml
6967 php-unittest :
70- continue-on-error : ${{ matrix.php < '8.1' || matrix.php > '8.4' }}
7168 name : PHP Unit Tests
7269 needs :
7370 - lint-php-syntax
@@ -77,12 +74,10 @@ jobs:
7774 fail-fast : false
7875 matrix :
7976 php :
80- - 8.0 # from 2020-11 to 2022-11 (2023-11)
81- - 8.1 # from 2021-11 to 2023-11 (2025-12)
82- - 8.2 # from 2022-12 to 2024-12 (2026-12)
83- - 8.3 # from 2023-11 to 2025-12 (2027-12)
84- - 8.4 # from 2024-11 to 2026-12 (2028-12)
85- - 8.5 # from 2025-11 to 2027-12 (2029-12)
77+ - ' 8.0' # from 2020-11 to 2022-11 (2023-11)
78+ - ' 8.1' # from 2021-11 to 2023-11 (2025-12)
79+ - ' 8.2' # from 2022-12 to 2024-12 (2026-12)
80+ - ' 8.3' # from 2023-11 to 2025-12 (2027-12)
8681 steps :
8782 - uses : actions/checkout@v4
8883 - uses : shivammathur/setup-php@v2
@@ -115,7 +110,6 @@ jobs:
115110 --no-scripts
116111 # 03.quality.php.lint-version-compatibility.yml
117112 php-check-version-compatibility :
118- continue-on-error : ${{ matrix.php < '8.1' || matrix.php > '8.4' }}
119113 name : PHP Version Compatibility
120114 needs :
121115 - lint-php-syntax
@@ -124,17 +118,15 @@ jobs:
124118 fail-fast : false
125119 matrix :
126120 php :
127- - 8.0 # from 2020-11 to 2022-11 (2023-11)
128- - 8.1 # from 2021-11 to 2023-11 (2025-12)
129- - 8.2 # from 2022-12 to 2024-12 (2026-12)
130- - 8.3 # from 2023-11 to 2025-12 (2027-12)
131- - 8.4 # from 2024-11 to 2026-12 (2028-12)
132- - 8.5 # from 2025-11 to 2027-12 (2029-12)
121+ - ' 8.0' # from 2020-11 to 2022-11 (2023-11)
122+ - ' 8.1' # from 2021-11 to 2023-11 (2025-12)
123+ - ' 8.2' # from 2022-12 to 2024-12 (2026-12)
124+ - ' 8.3' # from 2023-11 to 2025-12 (2027-12)
133125 steps :
134126 - uses : actions/checkout@v4
135127 - uses : docker://pipelinecomponents/php-codesniffer
136128 with :
137- options : >-
129+ args : >-
138130 phpcs
139131 -s
140132 --extensions=php
0 commit comments