Skip to content

chore(deps): bump actions/cache from 3 to 4 #137

chore(deps): bump actions/cache from 3 to 4

chore(deps): bump actions/cache from 3 to 4 #137

# See continuous-integration.yml for sources.
name: "Code Quality"
on: [push, pull_request]
jobs:
static-analysis-phpstan:
name: "Static Analysis on PHP ${{ matrix.php-version }}"
runs-on: "ubuntu-22.04"
strategy:
matrix:
php-version:
- 8.1
- 8.2
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
extensions: "json,ldap"
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse"
# Skip Psalm until we can get it working better with Symfony bundle configuration files.
# - name: "Run a static analysis with vimeo/psalm"
# run: "vendor/bin/psalm --output-format=github"