Fix module property #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPCS | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
run: | |
name: phpcs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: ['7.4', '8.0', '8.1', '8.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: pdo, pdo_mysql, zip, mysqli, gd | |
- name: Install dependencies | |
run: cd core/components/commerce_dynamictaxmode && composer install --no-progress --prefer-dist --optimize-autoloader | |
- name: Install phpcs | |
run: composer install --no-progress --prefer-dist --optimize-autoloader | |
- name: Run phpcs | |
run: composer run phpcs -- --runtime-set testVersion ${{ matrix.php-version }} |