Skip to content

support to L10 (#12) #22

support to L10 (#12)

support to L10 (#12) #22

Workflow file for this run

name: style-fix
on:
push:
branches: [master]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-8.1
- name: Install dependencies
if: steps.cache-descom-laravel-auth.outputs.cache-hit != 'true'
run: |
composer install
composer dump
- name: Fix styles
run: vendor/bin/php-cs-fixer fix
- uses: EndBug/add-and-commit@v9
- name: Run style
run: vendor/bin/php-cs-fixer fix --dry-run --diff --format junit