Merge pull request #5981 from EC-CUBE/dependabot/npm_and_yarn/yaml-an… #57
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: PHPStan | |
on: | |
push: | |
branches: | |
- '*' | |
tags: | |
- '*' | |
paths: | |
- '**' | |
- '!*.md' | |
pull_request: | |
paths: | |
- '**' | |
- '!*.md' | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: nanasess/setup-php@master | |
with: | |
php-version: '7.4' | |
- name: Initialize Composer | |
uses: ./.github/actions/composer | |
- name: PHPStan | |
run: vendor/bin/phpstan analyze src/ --error-format=github |