Merge pull request #124 from degica/fix/skipCreateSessionWhenCartEmpty #423
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: lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Setup dependencies | |
run: | | |
which php | |
which composer | |
php -i | |
composer | |
composer install | |
- name: Run lint | |
run: ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist --dry-run |