aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-12-30 11:17:18 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-02-10 14:57:36 +0100
commitcc18213c98b082d5c9514c1db94eb0248c951774 (patch)
treedbc328fa7897c5ba94ee7fd94c1b118b3c38a233 /.github
parentd42f9e65a22c7ca94a8858af640719c7c9d85c8a (diff)
downloadnextcloud-server-cc18213c98b082d5c9514c1db94eb0248c951774.tar.gz
nextcloud-server-cc18213c98b082d5c9514c1db94eb0248c951774.zip
Have psalm analysis directly on github
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.github')
-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