Skip to content

Merge pull request #246 from nahall/master #433

Merge pull request #246 from nahall/master

Merge pull request #246 from nahall/master #433

Workflow file for this run

name: ExtDN PHPStan
on: [push, pull_request]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Determine composer cache directory"
id: "determine-composer-cache-directory"
run: "echo \"::set-output name=directory::$(composer config cache-dir)\""
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}"
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: extdn/github-actions-m2/magento-phpstan/8.3@master
with:
composer_name: yireo/magento2-googletagmanager2
composer_version: 2
phpstan_level: 2
magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh