Skip to content

Merge pull request #190 from spatie/2.x #93

Merge pull request #190 from spatie/2.x

Merge pull request #190 from spatie/2.x #93

Workflow file for this run

name: Psalm
on:
push:
paths:
- '**.php'
- 'psalm*'
jobs:
psalm:
name: psalm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run Psalm
run: composer psalm:ci