Skip to content

Fix branch name

Fix branch name #1

Workflow file for this run

name: Psalm
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
psalm:
name: Psalm on PHP ${{ matrix.php-versions }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.1', '8.2', '8.3']
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@v1"
with:
composer-options: --no-dev
- name: Static Analysis
run: psalm