Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

[GitHub Action]: Bump shivammathur/setup-php from 2.25.1 to 2.25.5 #1655

[GitHub Action]: Bump shivammathur/setup-php from 2.25.1 to 2.25.5

[GitHub Action]: Bump shivammathur/setup-php from 2.25.1 to 2.25.5 #1655

Workflow file for this run

name: PHP CS Fixer
on: [ push ]
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpcs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ '7.4' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
coverage: none # disable xdebug, pcov
extensions: ast
- name: Install Composer deps
uses: ramsey/composer-install@v2
with:
composer-options: --no-scripts
- name: Install Composer bin PHP CS Fixer
uses: ramsey/composer-install@v2
with:
working-directory: './vendor-bin/phpcs'
- name: Run PHP CS Fixer
run: |
./vendor-bin/phpcs/vendor/bin/php-cs-fixer fix --allow-risky yes --dry-run -v