Skip to content

Only install psalm when needed #4

Only install psalm when needed

Only install psalm when needed #4

Workflow file for this run

name: Psalm
on: [push]
jobs:
psalm:
name: Psalm on PHP ${{ matrix.php-versions }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.3']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: psalm:4
coverage: none
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
- name: Force Psalm
run: composer require --dev vimeo/psalm
- name: Static Analysis
run: psalm