v2.0.0: Major Refactor - PSR-4 Autoloading & Performance Optimization #97
This file contains hidden or 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: 'plugin-check' | |
| on: # rebuild any PRs and main branch changes | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - 'releases/*' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.1' | |
| tools: composer:v2 | |
| - name: Install plugin production dependencies | |
| run: | | |
| cd plugin/juanma-jwt-auth-pro | |
| composer install --no-dev --prefer-dist --no-progress --no-interaction | |
| - name: Run plugin check | |
| uses: wordpress/plugin-check-action@v1 | |
| with: | |
| repo-token: '' | |
| build-dir: './plugin/juanma-jwt-auth-pro' | |
| checks: '' | |
| exclude-checks: '' | |
| categories: 'plugin_repo' | |
| exclude-directories: 'tests/*' | |
| ignore-warnings: '' | |
| ignore-errors: '' | |
| include-experimental: '' | |
| wp-version: 'latest' |