aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/psalm-github.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/psalm-github.yml')
-rw-r--r--.github/workflows/psalm-github.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/psalm-github.yml b/.github/workflows/psalm-github.yml
new file mode 100644
index 00000000000..ef35c39cd67
--- /dev/null
+++ b/.github/workflows/psalm-github.yml
@@ -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