Skip to content

Merge pull request #22 from fastbolt/21-currency-column-formatting #37

Merge pull request #22 from fastbolt/21-currency-column-formatting

Merge pull request #22 from fastbolt/21-currency-column-formatting #37

Workflow file for this run

name: "PHP_Codesniffer"
on:
pull_request:
# paths:
# - "**.php"
# - "phpcs.xml.dist"
# - ".github/workflows/phpcs.yaml"
push:
# paths:
# - "**.php"
# - "phpcs.xml.dist"
# - ".github/workflows/phpcs.yaml"
jobs:
phpcs:
name: PHP_CodeSniffer
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3']
steps:
- uses: actions/checkout@master
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: composer update --prefer-dist --no-progress --ignore-platform-req="ext-*" ${{ matrix.composer-prefer }}
- name: Run PHP_CodeSniffer
run: vendor/bin/phpcs