Skip to content

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #588

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #588

Workflow file for this run

name: Php cs fixer
on:
- push
- pull_request
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Cache composer folder
uses: actions/cache@v2
with:
path: ~/.composer/cache
key: composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
composer-
- name: Checkout
uses: actions/[email protected]
- name: "Setup Php 7.2"
uses: shivammathur/setup-php@v2
with:
php-version: "7.2"
- name: "Install Composer"
run: composer install
- name: Run PHP-CS-Fixer
run: |
cd ${{ github.workspace }}
./vendor/bin/php-cs-fixer --version
./vendor/bin/php-cs-fixer fix --config=".php_cs-fixer.dist.php" --dry-run --diff ./