chore: Update the CS config (#178) #167
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: AutoReview | |
on: | |
push: | |
branches: [ main ] | |
pull_request: null | |
schedule: | |
# Do not make it the first of the month and/or midnight since it is a very busy time | |
- cron: "* 10 5 * *" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: AutoReview | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: composer | |
coverage: none | |
- name: Install Composer dependencies | |
uses: ramsey/composer-install@v2 | |
- name: Install PHP-CS-Fixer Composer dependencies | |
uses: ramsey/composer-install@v2 | |
with: | |
working-directory: 'vendor-bin/php-cs-fixer' | |
- name: Ensure PHP-CS-Fixer is properly installed | |
run: make php_cs_fixer_install | |
- name: Install Psalm Composer dependencies | |
uses: ramsey/composer-install@v2 | |
with: | |
working-directory: 'vendor-bin/psalm' | |
- name: Ensure Psalm is properly installed | |
run: make psalm_install | |
- run: make autoreview --keep-going |