Bump actions/checkout from 3 to 4 #16
Workflow file for this run
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: PHP Code Style | |
on: pull_request | |
jobs: | |
PHP-Code-Sniffer: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: | |
- 8.2 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: PHP Code Style (phpcs) | |
uses: chindit/[email protected] | |
PHP-CS-Fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install PHP w/ Extensions" | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: 8.2 | |
coverage: none | |
extensions: "json, mbstring, mongodb, pdo" | |
- name: "Install PHP CS Fixer" | |
run: COMPOSER=.github/workflows/composer.php-cs-fixer.json composer install --no-interaction --no-progress | |
- name: "Run php-cs-fixer" | |
run: vendor/bin/php-cs-fixer fix --dry-run --config=./php-cs-fixer.php -v --using-cache=no --diff --ansi |