Merge pull request #24904 from nextcloud/enh/github-psalm

Have psalm analysis directly on github
This commit is contained in:
Roeland Jago Douma 2021-02-10 19:03:55 +01:00 committed by GitHub
commit d0cf4e2f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/psalm-github.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Psalm show github
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
continue-on-error: true
with:
report_file: results.sarif
- name: Upload Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif