name: Psalm
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
psalm:
name: Psalm on PHP ${{ matrix.php-versions }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.1']
steps:
- name: Checkout
uses: actions/checkout@v2
- 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@v1"
- name: Static Analysis
run: psalm
- name: Taint Analysis
run: psalm --taint-analysis
|