Merge pull request #183 from jrfnl/feature/ghactions-update-action-ru… #154
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: 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: ['7.4'] | |
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@v3" | |
with: | |
composer-options: --no-dev | |
- name: Put Psalm config in place | |
run: cp psalm-above-3.xml psalm.xml | |
- name: Static Analysis | |
run: psalm |