Merge pull request #18 from majidfeiz/add-paystar-gateway #25
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: Check Style | |
on: [ push, pull_request ] | |
jobs: | |
php-cs-fixer: | |
name: Code Standard & Style Check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.1" | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.composer/cache/files | |
key: dependencies-stable-laravel-10.x-php-8.1-composer-${{ hashFiles('composer.json') }} | |
- name: Run composer install | |
run: composer install -n --prefer-dist | |
- name: Run code style check | |
run: ./vendor/bin/php-cs-fixer fix -v --dry-run --show-progress=dots |