Skip to content

checkout UI optimisation for mobile screens #62

checkout UI optimisation for mobile screens

checkout UI optimisation for mobile screens #62

Workflow file for this run

name: Review changes on Dev (Commits/PRs)
on:
push:
branches: ['master']
pull_request:
branches: ['dev']
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpcs:
name: PHPCS
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-versions: ['7.4','8.0' ,'8.1', '8.2', '8.3', '8.4' ]
phpunit-versions: ['7.5.20','latest']
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: "Validate composer.json and composer.lock"
run: composer validate --strict
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
ini-values: "memory_limit=1G"
coverage: none
tools: cs2pr
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
- name: Run PHPCS checks
continue-on-error: true
run: vendor/bin/phpcs --ignore=*/tests/*,*/data/*,*/assets/* --report-full --report-checkstyle=./phpcs-report.xml
- name: Git Blame
continue-on-error: true
run: vendor/bin/phpcs -s --report=gitblame --ignore=*/tests/*,*/data/*,*/assets/* .
- name: Show PHPCS results in PR
run: cs2pr ./phpcs-report.xml
- name: Run WordPress Checks
continue-on-error: true
run: composer run standards:check
- name: Run WooCommerce Checks
continue-on-error: true
run: composer run woocommerce:check