Skip to content

Merge pull request #5 from jbrada/remove-api #12

Merge pull request #5 from jbrada/remove-api

Merge pull request #5 from jbrada/remove-api #12

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