قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* Use explicit "ubuntu-24.04" runner for all workflows * Updates expected system test files with changed images * updates expected UI test files with changes due to slightly different font rendering * Updates UI test files with changes caused by now correctly rendered characters * Updates expected UI files changed due to a different error message in curl * submodule updates * remove duplicate screenshot file --------- Co-authored-by: Marc Neudert <marc@innocraft.com>
39 خطوط
938 B
YAML
39 خطوط
938 B
YAML
name: PHPCS check
|
|
|
|
on: pull_request
|
|
|
|
permissions:
|
|
actions: read
|
|
checks: read
|
|
contents: read
|
|
deployments: none
|
|
issues: read
|
|
packages: none
|
|
pull-requests: read
|
|
repository-projects: none
|
|
security-events: none
|
|
statuses: read
|
|
|
|
jobs:
|
|
phpcs:
|
|
name: PHPCS
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
lfs: false
|
|
persist-credentials: false
|
|
- name: Install dependencies
|
|
run: composer install --dev --prefer-dist --no-progress --no-suggest
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '7.2'
|
|
tools: cs2pr
|
|
- name: Check PHP code styles
|
|
id: phpcs
|
|
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
|
|
- name: Show PHPCS results in PR
|
|
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
|
|
run: cs2pr ./phpcs-report.xml
|