Update main
to use the latest canary
branch
#3101
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 Plugin | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
lint_plugin: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- name: Install Dependencies | |
working-directory: plugins/faustwp | |
run: composer install | |
- name: Run Lint | |
working-directory: plugins/faustwp | |
run: composer lint | |
- name: Run PHPCS | |
working-directory: plugins/faustwp | |
run: composer phpcs | |
- name: Run PHPStan | |
run: composer phpstan | |
working-directory: plugins/faustwp |