mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
41 lines
990 B
YAML
41 lines
990 B
YAML
name: Psalm show github
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- stable*
|
|
|
|
jobs:
|
|
psalm:
|
|
name: Psalm
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Set up php
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.0'
|
|
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
|
|
coverage: none
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Composer install
|
|
run: composer i
|
|
|
|
- name: Psalm
|
|
uses: docker://vimeo/psalm-github-actions:4.9.3
|
|
continue-on-error: true
|
|
with:
|
|
composer_ignore_platform_reqs: false
|
|
report_file: results.sarif
|
|
- name: Upload Analysis results to GitHub
|
|
uses: github/codeql-action/upload-sarif@v1
|
|
with:
|
|
sarif_file: results.sarif
|