We don't actually need PECL? #193
Workflow file for this run
This file contains hidden or 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: 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.4'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Rename psalm.xml to psalm-old.xml | |
run: mv psalm.xml psalm-old.xml | |
- name: Rename psalm-new.xml to psalm.xml | |
run: mv psalm-new.xml psalm.xml | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: psalm:6 | |
coverage: none | |
- name: Install Composer dependencies | |
uses: "ramsey/composer-install@v3" | |
with: | |
composer-options: --no-dev | |
- name: Static Analysis | |
run: psalm |