Merge pull request #603 from getformwork/dependabot/npm_and_yarn/pane… #168
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 | |
on: | |
push: | |
branches: | |
- 2.x | |
pull_request: | |
branches: | |
- 2.x | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: composer | |
- uses: actions/checkout@v4 | |
- name: Validate composer.json and composer.lock | |
run: composer validate --strict | |
- name: Install dependencies | |
run: composer install | |
- name: Check coding style | |
run: composer fix:check | |
- name: Run PHPStan | |
run: composer phpstan | |
- name: Run Rector | |
run: composer rector:check |