Issue #40: Add listMonth calendar view to options #28
Workflow file for this run
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 static code analysis | |
on: [pull_request] | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Setup env | |
run: echo "REPO_NAME=${PWD##*/}" >> $GITHUB_ENV | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: phpstan | |
- name: Checkout Backdrop core | |
uses: actions/checkout@v3 | |
with: | |
repository: backdrop/backdrop | |
- name: Checkout module | |
uses: actions/checkout@v3 | |
with: | |
path: modules/${{ env.REPO_NAME }} | |
- name: Run PHPStan | |
run: | | |
cd modules/${{ env.REPO_NAME }} | |
phpstan analyze . -c .github/phpstan/phpstan.neon --error-format=github --no-progress |