mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-31 02:52:19 +08:00
72909bde64
Signed-off-by: Simon L <szaimen@e.mail.de>
28 lines
553 B
YAML
28 lines
553 B
YAML
name: Psalm Analysis
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
psalm:
|
|
name: Psalm
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up php8.2
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.2
|
|
extensions: apcu
|
|
coverage: none
|
|
|
|
- name: Run script
|
|
run: |
|
|
set -x
|
|
cd php
|
|
composer global require vimeo/psalm --prefer-dist --no-progress --dev
|
|
composer install
|
|
composer run psalm
|