Changeset 58596
- Timestamp:
- 06/28/2024 06:19:51 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-coding-standards-php.yml
r58165 r58596 12 12 type: 'string' 13 13 default: 'latest' 14 old-branch: 15 description: 'Whether this is an old branch that runs phpcbf instead of phpcs' 16 required: false 17 type: 'boolean' 18 default: false 14 19 15 20 jobs: … … 75 80 - name: Run PHPCS on all Core files 76 81 id: phpcs-core 82 if: ${{ ! inputs.old-branch }} 77 83 run: phpcs -n --report-full --cache=./.cache/phpcs-src.json --report-checkstyle=./.cache/phpcs-report.xml 78 84 … … 83 89 - name: Check test suite files for warnings 84 90 id: phpcs-tests 91 if: ${{ ! inputs.old-branch }} 85 92 run: phpcs tests --report-full --cache=./.cache/phpcs-tests.json --report-checkstyle=./.cache/phpcs-tests-report.xml 86 93 … … 89 96 run: cs2pr ./.cache/phpcs-tests-report.xml 90 97 98 - name: Run PHPCBF on all Core files (old branches) 99 if: ${{ inputs.old-branch }} 100 run: phpcbf 101 91 102 - name: Ensure version-controlled files are not modified during the tests 92 103 run: git diff --exit-code
Note: See TracChangeset
for help on using the changeset viewer.