Merge pull request #5 from jbrada/remove-api #12
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: Magento Coding Standard | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: extdn/github-actions-m2/magento-phpstan@master | |
with: | |
composer_name: jbrada/module-admin-document-product-links | |
magento_pre_install_script: .github/workflows/static-analysis/phpstan-pre-install.sh | |
coding-standard: | |
name: Magento Coding Standard | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Configure PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
tools: composer:v2 | |
coverage: xdebug | |
extensions: bcmath, gd | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Codesniffer | |
run: composer phpcs |