Update psalm output for actions run and change level=2 #3
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 static analysis | |
on: [push] | |
jobs: | |
build: | |
name: ${{matrix.operating-system}}, PHP ${{ matrix.php }} | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest ] | |
php: ['8.1' ] | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup PHP | |
uses: nanasess/setup-php@master | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies | |
run: composer install | |
- name: Run psalm | |
run: php vendor/bin/psalm --long-progress --no-cache --output-format=compact --report="./checkstyle.xml" --report-show-info=false |