Bump pnpm version from 9.11 to 9.12.3 #25
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: Backend static analysis | |
on: [ push, pull_request ] | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: src/vendor | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Install Composer dependencies | |
run: composer install -qn --no-ansi --no-progress --no-scripts --prefer-dist | |
- name: Run Psalm | |
run: ./vendor/bin/psalm -c psalm.xml | |
- name: Run PHPStan | |
run: ./vendor/bin/phpstan analyze --memory-limit=2G |