Skip to content

Add psalm to actions #1

Add psalm to actions

Add psalm to actions #1

Workflow file for this run

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